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.
|
isProfileAuthorized
getElements, isAuthorized, setElements, setElements, setElements
handleError, isAllAuthorized, isAnyAuthorized
protected boolean check(WebContext context, U profile, Class<U> element)
AbstractRequireElementAuthorizer
check
in class AbstractRequireElementAuthorizer<Class<U extends CommonProfile>,U extends CommonProfile>
context
- the web contextprofile
- the profileelement
- the element to checkCopyright © 2018. All rights reserved.