Interface HttpSecurable
-
- All Known Implementing Classes:
AbstractHttpSecurable
public interface HttpSecurable
Securable 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.String
getHttpSecurityName()
Obtains the name for theHttpSecurity
to 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
HttpSecurity
ornull
for genericHttpSecurity
.
-
getAnyRoles
java.lang.String[] getAnyRoles()
Obtains the list of roles that must have at least one for access.
Empty/
null
list 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/
null
list means needs only be authenticated.- Returns:
- List of required roles.
-
-