Class 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
    • Constructor Detail

      • PasswordAuthenticator

        public PasswordAuthenticator​(String password,
                                     boolean hashed)
    • Method Detail

      • 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