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 PasswordResetAttemptaddPasswordResetAttempt(String loginId) static org.ehcache.Cache<String,PasswordResetAttempt> static PasswordResetAttemptgetPasswordResetAttempt(String loginId) static PasswordResetAttemptgetPasswordResetAttempts(String loginId) static longstatic voidinit()static voidreinit()static PasswordResetAttemptsetPasswordResetAttempts(String loginId, long count) static voidshutdown()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()
-