Interface HttpSecurableBuilder
-
- All Known Implementing Classes:
AbstractHttpSecurable
public interface HttpSecurableBuilder
Interface forHttpSecurer
to correspond with theHttpSecurable
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addRequiredRole(java.lang.String requiredRole)
Adds to listing of required roles that must have all for access.void
addRole(java.lang.String anyRole)
Adds to listing of roles that must have at least one for access.void
setHttpSecurityName(java.lang.String httpSecurityName)
Specifies the particularHttpSecurity
.
-
-
-
Method Detail
-
setHttpSecurityName
void setHttpSecurityName(java.lang.String httpSecurityName)
Specifies the particularHttpSecurity
.- Parameters:
httpSecurityName
- Name of theHttpSecurity
to use.
-
addRole
void addRole(java.lang.String anyRole)
Adds to listing of roles that must have at least one for access.- Parameters:
anyRole
- Any role.
-
addRequiredRole
void addRequiredRole(java.lang.String requiredRole)
Adds to listing of required roles that must have all for access.- Parameters:
requiredRole
- Required roles.
-
-