Package de.xima.fc.security.cache
Class PasswordResetCache
java.lang.Object
de.xima.fc.security.cache.PasswordResetCache
Cache storing password reset attempts.
- Since:
- 8.1.0
- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PasswordResetAttempt
addPasswordResetAttempt
(String loginId) static org.ehcache.Cache<String,
PasswordResetAttempt> static PasswordResetAttempt
getPasswordResetAttempt
(String loginId) static PasswordResetAttempt
getPasswordResetAttempts
(String loginId) static long
static void
init()
static void
reinit()
static PasswordResetAttempt
setPasswordResetAttempts
(String loginId, long count) static void
shutdown()
static void
-
Field Details
-
CACHE_NAME
Name of the cache.- See Also:
-
-
Constructor Details
-
PasswordResetCache
public PasswordResetCache()
-
-
Method Details
-
addPasswordResetAttempt
-
getInstance
-
getPasswordResetAttempt
-
getPasswordResetCount
public static long getPasswordResetCount() -
init
public static void init() -
reinit
public static void reinit() -
setPasswordResetAttempts
-
shutdown
public static void shutdown() -
getPasswordResetAttempts
-
updatePasswordResetCount
public static void updatePasswordResetCount()
-