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