public class DefaultAuthorizationChecker extends java.lang.Object implements AuthorizationChecker
| Constructor and Description |
|---|
DefaultAuthorizationChecker() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isAuthorized(WebContext context,
java.util.List<CommonProfile> profiles,
java.util.List<Authorizer> authorizers) |
boolean |
isAuthorized(WebContext context,
java.util.List<CommonProfile> profiles,
java.lang.String authorizerNames,
java.util.Map<java.lang.String,Authorizer> authorizersMap)
Check whether the user is authorized.
|
public boolean isAuthorized(WebContext context, java.util.List<CommonProfile> profiles, java.lang.String authorizerNames, java.util.Map<java.lang.String,Authorizer> authorizersMap) throws HttpAction
AuthorizationCheckerisAuthorized in interface AuthorizationCheckercontext - the web contextprofiles - the profileauthorizerNames - the authorizersauthorizersMap - the map of authorizersHttpAction - whether an additional HTTP action is requiredprotected boolean isAuthorized(WebContext context, java.util.List<CommonProfile> profiles, java.util.List<Authorizer> authorizers) throws HttpAction
HttpActionCopyright © 2018. All Rights Reserved.