Class PasswordResetToken

  • All Implemented Interfaces:
    Serializable

    @Entity
    public class PasswordResetToken
    extends UserToken
    A Token instance that has a one-to-one relation to a User that wants to reset the password.
    Author:
    Daniel Koch, Nils Bühner
    See Also:
    Serialized Form
    • 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