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