Package com.logicaldoc.core.security
Class PasswordHistory
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.security.PasswordHistory
- All Implemented Interfaces:
Serializable,Comparable<PasswordHistory>
public class PasswordHistory
extends PersistentObject
implements Serializable, Comparable<PasswordHistory>
This class represent an old password of a user
- Version:
- 8.6.1
- Author:
- Marco Meschieri
- See Also:
-
Field Summary
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(PasswordHistory other) booleangetDate()longvoidvoidsetPassword(String password) voidsetUserId(long userId) Methods inherited from class com.logicaldoc.core.PersistentObject
getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
Constructor Details
-
PasswordHistory
public PasswordHistory()
-
-
Method Details
-
getUserId
public long getUserId() -
setUserId
public void setUserId(long userId) -
getPassword
-
setPassword
-
getDate
-
setDate
-
compareTo
- Specified by:
compareToin interfaceComparable<PasswordHistory>
-
equals
- Overrides:
equalsin classPersistentObject
-