Package de.xima.fc.security.cache
Class PasswordResetAttemptHelper
- java.lang.Object
-
- de.xima.fc.security.cache.PasswordResetAttemptHelper
-
public class PasswordResetAttemptHelper extends Object
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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addPasswordResetAttempt(String loginId)
static EPasswordResetState
checkPasswordResetAttempts(UserProfile profile)
static EPasswordResetState
checkPasswordResetAttempts(String loginId)
static int
getLockCount()
static long
getLockDuration()
static int
getMaxLockCount()
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 Detail
-
checkPasswordResetAttempts
public static EPasswordResetState checkPasswordResetAttempts(UserProfile profile)
-
checkPasswordResetAttempts
public static EPasswordResetState checkPasswordResetAttempts(String loginId)
-
getPasswordResetAttempts
public static PasswordResetAttempt getPasswordResetAttempts(String loginId)
-
getPasswordResetAttemptCount
public static long getPasswordResetAttemptCount(String loginId)
-
removePasswordResetAttempts
public static void removePasswordResetAttempts(UserProfile profile)
-
removePasswordResetAttempts
public static void removePasswordResetAttempts(String loginId)
-
addPasswordResetAttempt
public static void addPasswordResetAttempt(String loginId)
-
setPasswordResetAttempts
public static PasswordResetAttempt setPasswordResetAttempts(String loginId, long count)
-
getLockDuration
public static long getLockDuration()
-
getLockCount
public static int getLockCount()
-
getMaxLockCount
public static int getMaxLockCount()
-
-