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)
AuthorizationChecker
isAuthorized
in interface AuthorizationChecker
context
- the web contextprofiles
- the profileauthorizerNames
- the authorizersauthorizersMap
- the map of authorizersprotected boolean isAuthorized(WebContext context, List<CommonProfile> profiles, List<Authorizer> authorizers)
Copyright © 2018. All rights reserved.