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