Class AbstractCheckAuthenticationAuthorizer

java.lang.Object
org.pac4j.core.authorization.authorizer.ProfileAuthorizer
org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
All Implemented Interfaces:
Authorizer
Direct Known Subclasses:
IsAnonymousAuthorizer, IsAuthenticatedAuthorizer, IsFullyAuthenticatedAuthorizer, IsRememberedAuthorizer

public abstract class AbstractCheckAuthenticationAuthorizer extends ProfileAuthorizer
Check the authentication of the user.
Since:
1.9.0
Author:
Jerome Leleu
  • Constructor Details

    • AbstractCheckAuthenticationAuthorizer

      public AbstractCheckAuthenticationAuthorizer()

      Constructor for AbstractCheckAuthenticationAuthorizer.

    • AbstractCheckAuthenticationAuthorizer

      public AbstractCheckAuthenticationAuthorizer(String redirectionUrl)

      Constructor for AbstractCheckAuthenticationAuthorizer.

      Parameters:
      redirectionUrl - a String object
  • Method Details

    • handleError

      protected boolean handleError(WebContext context, SessionStore sessionStore)
      Handle the error.
      Overrides:
      handleError in class ProfileAuthorizer
      Parameters:
      context - the web context
      sessionStore - the session store
      Returns:
      false