Interface AuthorizationChecker

  • All Known Implementing Classes:
    DefaultAuthorizationChecker

    public interface AuthorizationChecker
    The way to check authorizations.
    Since:
    1.8.0
    Author:
    Jerome Leleu
    • Method Detail

      • isAuthorized

        boolean isAuthorized​(WebContext context,
                             List<UserProfile> profiles,
                             String authorizerNames,
                             Map<String,​Authorizer> authorizersMap,
                             List<Client<? extends Credentials>> clients)
        Check whether the user is authorized.
        Parameters:
        context - the web context
        profiles - the profile
        authorizerNames - the authorizers
        authorizersMap - the map of authorizers
        clients - the clients
        Returns:
        whether the user is authorized.