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.
@FunctionalInterface 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, SessionStore sessionStore, java.util.List<UserProfile> profiles, java.lang.String authorizerNames, java.util.Map<java.lang.String,Authorizer> authorizersMap, java.util.List<Client> clients)
Check whether the user is authorized.
-
-
-
Method Detail
-
isAuthorized
boolean isAuthorized(WebContext context, SessionStore sessionStore, java.util.List<UserProfile> profiles, java.lang.String authorizerNames, java.util.Map<java.lang.String,Authorizer> authorizersMap, java.util.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.
-
-