Interface HttpSecurable
- All Known Implementing Classes:
AbstractHttpSecurable
public interface HttpSecurable
Securable HTTP item.
- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionString[]Obtains the list of roles that must have at least one for access.Obtains the name for theHttpSecurityto use.String[]Obtains the list of roles that must have all for access.
-
Method Details
-
getHttpSecurityName
String getHttpSecurityName()- Returns:
- Name of
HttpSecurityornullfor genericHttpSecurity.
-
getAnyRoles
String[] getAnyRoles()Obtains the list of roles that must have at least one for access.
Empty/
nulllist means needs only be authenticated.- Returns:
- List of any roles.
-
getRequiredRoles
String[] getRequiredRoles()Obtains the list of roles that must have all for access.
Empty/
nulllist means needs only be authenticated.- Returns:
- List of required roles.
-