Interface AuthorizationChecker
-
- All Known Implementing Classes:
DefaultAuthorizationChecker
public interface AuthorizationChecker
The way to check authorizations.- Since:
- 1.8.0
- Author:
- Jerome Leleu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isAuthorized(WebContext context, List<UserProfile> profiles, String authorizerNames, Map<String,Authorizer> authorizersMap)
Check whether the user is authorized.
-
-
-
Method Detail
-
isAuthorized
boolean isAuthorized(WebContext context, List<UserProfile> profiles, String authorizerNames, Map<String,Authorizer> authorizersMap)
Check whether the user is authorized.- Parameters:
context
- the web contextprofiles
- the profileauthorizerNames
- the authorizersauthorizersMap
- the map of authorizers- Returns:
- whether the user is authorized.
-
-