U - the user profilepublic class RequireAllRolesAuthorizer<U extends CommonProfile> extends AbstractRequireAllAuthorizer<java.lang.String,U>
elements| Constructor and Description |
|---|
RequireAllRolesAuthorizer() |
RequireAllRolesAuthorizer(java.util.List<java.lang.String> roles) |
RequireAllRolesAuthorizer(java.util.Set<java.lang.String> roles) |
RequireAllRolesAuthorizer(java.lang.String... roles) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
check(WebContext context,
U profile,
java.lang.String element)
Check a specific element.
|
isProfileAuthorizedgetElements, isAuthorized, setElements, setElements, setElementshandleError, isAllAuthorized, isAnyAuthorizedpublic RequireAllRolesAuthorizer()
public RequireAllRolesAuthorizer(java.lang.String... roles)
public RequireAllRolesAuthorizer(java.util.List<java.lang.String> roles)
public RequireAllRolesAuthorizer(java.util.Set<java.lang.String> roles)
protected boolean check(WebContext context, U profile, java.lang.String element) throws HttpAction
AbstractRequireElementAuthorizercheck in class AbstractRequireElementAuthorizer<java.lang.String,U extends CommonProfile>context - the web contextprofile - the profileelement - the element to checkHttpAction - whether an additional HTTP action is requiredCopyright © 2018. All Rights Reserved.