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)
AuthorizationCheckerisAuthorized in interface AuthorizationCheckercontext - the web contextprofiles - the profileauthorizerNames - the authorizersauthorizersMap - the map of authorizersprotected boolean isAuthorized(WebContext context, java.util.List<CommonProfile> profiles, java.util.List<Authorizer> authorizers)
Copyright © 2019. All Rights Reserved.