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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
-
Constructor Summary
Constructors Constructor Description PasswordHistory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(PasswordHistory other)
Date
getDate()
String
getPassword()
long
getUserId()
void
setDate(Date date)
void
setPassword(String password)
void
setUserId(long userId)
-
Methods inherited from class com.logicaldoc.core.PersistentObject
equals, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
-
-
-
Method Detail
-
getUserId
public long getUserId()
-
setUserId
public void setUserId(long userId)
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
getDate
public Date getDate()
-
setDate
public void setDate(Date date)
-
compareTo
public int compareTo(PasswordHistory other)
- Specified by:
compareTo
in interfaceComparable<PasswordHistory>
-
-