public class PasswordData extends BasicData
UserData
class. We have enabled proxies
to avoid loading passwords unless it is necessary. The second-level
cache must never be enabled for this class.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cryptedPassword |
private UserData |
user |
Constructor and Description |
---|
PasswordData() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCryptedPassword()
Get the crypted password.
|
UserData |
getUser()
Get the user this password is referring to.
|
void |
setCryptedPassword(java.lang.String cryptedPassword)
Set the encrypted password.
|
(package private) void |
setUser(UserData user) |
equals, getId, getVersion, hashCode, setId, setVersion, toString
private java.lang.String cryptedPassword
private UserData user
@PropertyPathProtected public java.lang.String getCryptedPassword()
public void setCryptedPassword(java.lang.String cryptedPassword)
User.encryptPassword(String)
.public UserData getUser()
void setUser(UserData user)