Class AbstractRequireAnyAuthorizer<E>

All Implemented Interfaces:
Authorizer
Direct Known Subclasses:
CheckHttpMethodAuthorizer, CheckProfileTypeAuthorizer, RequireAnyAttributeAuthorizer, RequireAnyRoleAuthorizer

public abstract class AbstractRequireAnyAuthorizer<E> extends AbstractRequireElementAuthorizer<E>
An authorizer to require any of the elements.
Since:
1.8.1
Author:
Jerome Leleu
  • Constructor Details

    • AbstractRequireAnyAuthorizer

      public AbstractRequireAnyAuthorizer()
  • Method Details

    • isProfileAuthorized

      protected boolean isProfileAuthorized(WebContext context, SessionStore sessionStore, UserProfile profile)
      Whether a specific profile is authorized.
      Specified by:
      isProfileAuthorized in class ProfileAuthorizer
      Parameters:
      context - the web context
      sessionStore - the session store
      profile - the user profile
      Returns:
      whether a specific profile is authorized