Interface Authorizer

All Known Implementing Classes:
AbstractCheckAuthenticationAuthorizer, AbstractRequireAllAuthorizer, AbstractRequireAnyAuthorizer, AbstractRequireElementAuthorizer, AndAuthorizer, CheckHttpMethodAuthorizer, CheckProfileTypeAuthorizer, CsrfAuthorizer, IsAnonymousAuthorizer, IsAuthenticatedAuthorizer, IsFullyAuthenticatedAuthorizer, IsRememberedAuthorizer, OrAuthorizer, ProfileAuthorizer, RequireAllRolesAuthorizer, RequireAnyAttributeAuthorizer, RequireAnyRoleAuthorizer
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 Authorizer
Checks if an access is authorized.
Since:
1.8.0
Author:
Jerome Leleu
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles)
    Checks if the user profiles and / or the current web context are authorized.
  • Method Details

    • isAuthorized

      boolean isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles)
      Checks if the user profiles and / or the current web context are authorized.
      Parameters:
      context - the web context
      sessionStore - the session store
      profiles - the user profiles
      Returns:
      if the access is authorized