Package org.minijax.security
Class PasswordChangeRequest
- java.lang.Object
-
- org.minijax.dao.DefaultBaseEntity
-
- org.minijax.security.PasswordChangeRequest
-
- All Implemented Interfaces:
Serializable,BaseEntity
@Entity public class PasswordChangeRequest extends DefaultBaseEntity
The PasswordChangeRequest class represents a password change request. This is a central component to the "Forgot Password" / "Reset Password" flow. See this stackoverflow article for the general design: http://stackoverflow.com/a/1102817/2051724- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PasswordChangeRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()UUIDgetUserId()voidsetCode(String code)voidsetUser(SecurityUser user)-
Methods inherited from class org.minijax.dao.DefaultBaseEntity
copyNonNullProperties, equals, fromJson, getCreatedDateTime, getDeletedDateTime, getId, getUpdatedDateTime, hashCode, isDeleted, onPrePersist, onPreUpdate, setCreatedDateTime, setDeleted, setId, setUpdatedDateTime, toJson
-
-
-
-
Method Detail
-
getUserId
public UUID getUserId()
-
setUser
public void setUser(SecurityUser user)
-
getCode
public String getCode()
-
setCode
public void setCode(String code)
-
-