Package de.xima.fc.mdl
Class PasswordResetAttempt
- java.lang.Object
-
- de.xima.fc.mdl.PasswordResetAttempt
-
- All Implemented Interfaces:
Serializable
public class PasswordResetAttempt extends Object implements Serializable
Model class for serialising the data of an attempt to send an email to reset a user's password.- Since:
- 8.1.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PasswordResetAttempt()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PasswordResetAttempt
attempt()
boolean
canResetAttempts(long lockDuration, int lockCount)
long
getCount()
String
getMinutesToReset(long lockDuration)
String
toString()
PasswordResetAttempt
withAttemptCount(long attemptCount)
-
-
-
Method Detail
-
getCount
public long getCount()
-
withAttemptCount
public PasswordResetAttempt withAttemptCount(long attemptCount)
-
attempt
public PasswordResetAttempt attempt()
-
canResetAttempts
public boolean canResetAttempts(long lockDuration, int lockCount)
-
getMinutesToReset
public String getMinutesToReset(long lockDuration)
-
-