Class SimpleTestUsernamePasswordAuthenticator

  • All Implemented Interfaces:
    org.pac4j.core.credentials.authenticator.Authenticator

    public class SimpleTestUsernamePasswordAuthenticator
    extends java.lang.Object
    implements org.pac4j.core.credentials.authenticator.Authenticator
    This class is a simple test authenticator: password must match username.
    Since:
    1.4.0
    Author:
    Jerome Leleu
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void validate​(org.pac4j.core.credentials.Credentials cred, 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 Detail

      • SimpleTestUsernamePasswordAuthenticator

        public SimpleTestUsernamePasswordAuthenticator()
    • Method Detail

      • validate

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