-
Method Summary
Return the userId that this token was created for.
Date the token was created
Returns the security token.
Date the token was used to reset the password.
boolean
Returns true if the token has already been used.
void
Store the userId that this token is associated with.
void
Set the generation date for the token.
void
void
Set the date the token was used to reset the password.
void
Sets the token used flag.
-
Method Details
-
getToken
Returns the security token.
- Returns:
-
setToken
Sets the security token.
-
getCreateDate
Date the token was created
- Returns:
-
setCreateDate
void setCreateDate(Date date)
Set the generation date for the token.
-
getTokenUsedDate
Date the token was used to reset the password.
- Returns:
-
setTokenUsedDate
void setTokenUsedDate(Date date)
Set the date the token was used to reset the password.
-
getAdminUserId
Return the userId that this token was created for.
- Returns:
-
setAdminUserId
void setAdminUserId(Long adminUserId)
Store the userId that this token is associated with.
-
isTokenUsedFlag
boolean isTokenUsedFlag()
Returns true if the token has already been used.
-
setTokenUsedFlag
void setTokenUsedFlag(boolean tokenUsed)
Sets the token used flag.