Interface AuthorizationChecker
- All Known Implementing Classes:
DefaultAuthorizationChecker
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The way to check authorizations.
- Since:
- 1.8.0
- Author:
- Jerome Leleu
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isAuthorized
(WebContext context, SessionStore sessionStore, List<UserProfile> profiles, String authorizerNames, Map<String, Authorizer> authorizersMap, List<Client> clients) Check whether the user is authorized.
-
Method Details
-
isAuthorized
boolean isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles, String authorizerNames, Map<String, Authorizer> authorizersMap, List<Client> clients) Check whether the user is authorized.- Parameters:
context
- the web contextsessionStore
- the session storeprofiles
- the profileauthorizerNames
- the authorizersauthorizersMap
- the map of authorizersclients
- the clients- Returns:
- whether the user is authorized.
-