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
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(PasswordHistory other) boolean
getDate()
long
void
void
setPassword
(String password) void
setUserId
(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:
compareTo
in interfaceComparable<PasswordHistory>
-
equals
- Overrides:
equals
in classPersistentObject
-