Interface HttpSecurable
-
- All Known Implementing Classes:
AbstractHttpSecurable
public interface HttpSecurableSecurable HTTP item.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]getAnyRoles()Obtains the list of roles that must have at least one for access.java.lang.StringgetHttpSecurityName()Obtains the name for theHttpSecurityto use.java.lang.String[]getRequiredRoles()Obtains the list of roles that must have all for access.
-
-
-
Method Detail
-
getHttpSecurityName
java.lang.String getHttpSecurityName()
- Returns:
- Name of
HttpSecurityornullfor genericHttpSecurity.
-
getAnyRoles
java.lang.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
java.lang.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.
-
-