Class PasswordResetToken
- java.lang.Object
-
- de.terrestris.shoguncore.model.PersistentObject
-
- de.terrestris.shoguncore.model.token.Token
-
- de.terrestris.shoguncore.model.token.UserToken
-
- de.terrestris.shoguncore.model.token.PasswordResetToken
-
- All Implemented Interfaces:
Serializable
@Entity public class PasswordResetToken extends UserToken
- Author:
- Daniel Koch, Nils Bühner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PasswordResetToken()Default constructorPasswordResetToken(User user)Constructor that uses the default expiration time.PasswordResetToken(User user, int expirationInMinutes)Constructor that uses the passed values
-
Method Summary
-
Methods inherited from class de.terrestris.shoguncore.model.token.UserToken
equals, getUser, hashCode
-
Methods inherited from class de.terrestris.shoguncore.model.token.Token
expiresWithin, getExpirationDate, getToken
-
Methods inherited from class de.terrestris.shoguncore.model.PersistentObject
getCreated, getGroupPermissions, getId, getModified, getUserPermissions, setGroupPermissions, setModified, setUserPermissions, toString
-
-
-
-
Constructor Detail
-
PasswordResetToken
public PasswordResetToken()
Default constructor
-
PasswordResetToken
public PasswordResetToken(User user)
Constructor that uses the default expiration time.
-
PasswordResetToken
public PasswordResetToken(User user, int expirationInMinutes)
Constructor that uses the passed values
-
-