Class InternalTokenAuthenticator

java.lang.Object
de.xima.fc.security.pac4j.authentication.InternalTokenAuthenticator
All Implemented Interfaces:
org.pac4j.core.credentials.authenticator.Authenticator

public class InternalTokenAuthenticator extends Object implements org.pac4j.core.credentials.authenticator.Authenticator
Authenticator that validates the token and checks if the token is cached.
  • Method Details

    • withAuthenticator

      public static InternalTokenAuthenticator withAuthenticator(org.pac4j.core.credentials.authenticator.Authenticator delegate)
      Creates a new instance of the InternalTokenAuthenticator with the given authenticator.
      Parameters:
      delegate - the authenticator to use
      Returns:
      the new instance
    • validate

      public void validate(org.pac4j.core.credentials.Credentials credentials, org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore)
      Specified by:
      validate in interface org.pac4j.core.credentials.authenticator.Authenticator