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