Class UserHistoricalPassword

java.lang.Object
com.broadleafcommerce.auth.resource.domain.UserHistoricalPassword
All Implemented Interfaces:
Serializable

public class UserHistoricalPassword extends Object implements Serializable
Represents a historical user password including useful metadata such as the date it was created to allow enforcing user password policies such as not allowing them to set a new password that is the same as one they used within the last three months.
Author:
Nathan Moore (nathandmoore)
See Also:
  • Constructor Details

    • UserHistoricalPassword

      public UserHistoricalPassword()
  • 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