Class PasswordCredentials

  • All Implemented Interfaces:
    Serializable

    public class PasswordCredentials
    extends org.pac4j.core.credentials.Credentials
    Credentials consisting of a single password.
    Since:
    8.0.0
    Author:
    XIMA Media GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • PasswordCredentials

        public PasswordCredentials​(String password)
    • Method Detail

      • getPassword

        public String getPassword()
      • equals

        public boolean equals​(Object o)
        Specified by:
        equals in class org.pac4j.core.credentials.Credentials
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class org.pac4j.core.credentials.Credentials