Package de.xima.fc.security.cache
Class PasswordResetAttemptHelper
java.lang.Object
de.xima.fc.security.cache.PasswordResetAttemptHelper
Helper for storing / removing user password reset attempts and checking the state for resetting the user password.
- Since:
- 8.1.0
- Author:
- XIMA Media GmbH
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addPasswordResetAttempt
(String loginId) static EPasswordResetState
checkPasswordResetAttempts
(UserProfile profile) static EPasswordResetState
checkPasswordResetAttempts
(String loginId) static int
static long
static int
static long
getPasswordResetAttemptCount
(String loginId) static PasswordResetAttempt
getPasswordResetAttempts
(String loginId) static void
removePasswordResetAttempts
(UserProfile profile) static void
removePasswordResetAttempts
(String loginId) static PasswordResetAttempt
setPasswordResetAttempts
(String loginId, long count)
-
Method Details
-
checkPasswordResetAttempts
-
checkPasswordResetAttempts
-
getPasswordResetAttempts
-
getPasswordResetAttemptCount
-
removePasswordResetAttempts
-
removePasswordResetAttempts
-
addPasswordResetAttempt
-
setPasswordResetAttempts
-
getLockDuration
public static long getLockDuration() -
getLockCount
public static int getLockCount() -
getMaxLockCount
public static int getMaxLockCount()
-