Class UserHistoricalPassword
java.lang.Object
com.broadleafcommerce.auth.resource.domain.UserHistoricalPassword
- All Implemented Interfaces:
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The date when the password was created.The encrypted, previous password the user used.int
hashCode()
void
setDateCreated
(Instant dateCreated) The date when the password was created.void
setPassword
(String password) The encrypted, previous password the user used.toString()
-
Constructor Details
-
UserHistoricalPassword
public UserHistoricalPassword()
-
-
Method Details
-
getDateCreated
The date when the password was created. -
getPassword
The encrypted, previous password the user used. -
setDateCreated
The date when the password was created. -
setPassword
The encrypted, previous password the user used. -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-