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 voidaddPasswordResetAttempt(String loginId) static EPasswordResetStatecheckPasswordResetAttempts(UserProfile profile) static EPasswordResetStatecheckPasswordResetAttempts(String loginId) static intstatic longstatic intstatic longgetPasswordResetAttemptCount(String loginId) static PasswordResetAttemptgetPasswordResetAttempts(String loginId) static voidremovePasswordResetAttempts(UserProfile profile) static voidremovePasswordResetAttempts(String loginId) static PasswordResetAttemptsetPasswordResetAttempts(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()
-