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 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 context
      sessionStore - the session store
      profiles - the profile
      authorizerNames - the authorizers
      authorizersMap - the map of authorizers
      clients - the clients
      Returns:
      whether the user is authorized.