Interface HttpSecurableBuilder
- All Known Implementing Classes:
AbstractHttpSecurable
public interface HttpSecurableBuilder
Interface for
HttpSecurer to correspond with the
HttpSecurable.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddRequiredRole(String requiredRole) Adds to listing of required roles that must have all for access.voidAdds to listing of roles that must have at least one for access.voidsetHttpSecurityName(String httpSecurityName) Specifies the particularHttpSecurity.
-
Method Details
-
setHttpSecurityName
Specifies the particularHttpSecurity.- Parameters:
httpSecurityName- Name of theHttpSecurityto use.
-
addRole
Adds to listing of roles that must have at least one for access.- Parameters:
anyRole- Any role.
-
addRequiredRole
Adds to listing of required roles that must have all for access.- Parameters:
requiredRole- Required roles.
-