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()
    • AbstractCheckAuthenticationAuthorizer

      public AbstractCheckAuthenticationAuthorizer(String redirectionUrl)
  • Method Details

    • handleError

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

      public String getRedirectionUrl()
    • setRedirectionUrl

      public void setRedirectionUrl(String redirectionUrl)
    • toString

      public String toString()
      Overrides:
      toString in class Object