Class PasswordAuthenticator

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

public class PasswordAuthenticator extends Object implements org.pac4j.core.credentials.authenticator.Authenticator
Authenticator for checking a given password against password credentials.
Since:
8.0.0
Author:
XIMA Media GmbH
  • Field Summary

    Fields inherited from interface org.pac4j.core.credentials.authenticator.Authenticator

    ALWAYS_VALIDATE
  • Constructor Summary

    Constructors
    Constructor
    Description
    PasswordAuthenticator(String password, boolean hashed)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validate(org.pac4j.core.credentials.Credentials credentials, org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PasswordAuthenticator

      public PasswordAuthenticator(String password, boolean hashed)
  • Method Details

    • 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