public class DefaultAuthorizationChecker extends Object implements AuthorizationChecker
| Constructor and Description |
|---|
DefaultAuthorizationChecker() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isAuthorized(WebContext context,
List<CommonProfile> profiles,
List<Authorizer> authorizers) |
boolean |
isAuthorized(WebContext context,
List<CommonProfile> profiles,
String authorizerNames,
Map<String,Authorizer> authorizersMap)
Check whether the user is authorized.
|
public boolean isAuthorized(WebContext context, List<CommonProfile> profiles, String authorizerNames, Map<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, List<CommonProfile> profiles, List<Authorizer> authorizers) throws HttpAction
HttpActionCopyright © 2017. All Rights Reserved.