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.
|
isProfileAuthorized
getElements, isAuthorized, setElements, setElements, setElements
handleError, isAllAuthorized, isAnyAuthorized
public 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
AbstractRequireElementAuthorizer
check
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.