Class JpaUserHistoricalPassword

java.lang.Object
com.broadleafcommerce.auth.user.provider.jpa.domain.JpaUserHistoricalPassword
All Implemented Interfaces:
Serializable

public class JpaUserHistoricalPassword extends Object implements Serializable
Persistent version of UserHistoricalPassword. This is expected to be embedded in a collection on JpaUser.getPasswordHistory().
Author:
Nathan Moore (nathandmoore)
See Also:
  • Constructor Details

    • JpaUserHistoricalPassword

      public JpaUserHistoricalPassword()
  • Method Details

    • getDateCreated

      public Instant getDateCreated()
      The date when the password was created.
    • getPassword

      public String getPassword()
      The encrypted, previous password the user used.
    • setDateCreated

      public void setDateCreated(Instant dateCreated)
      The date when the password was created.
    • setPassword

      public void setPassword(String password)
      The encrypted, previous password the user used.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object