Package de.xima.fc.web.common.cache
Class LoginCache
- java.lang.Object
-
- de.xima.fc.web.common.cache.LoginCache
-
- Direct Known Subclasses:
LoginCacheManager
public class LoginCache extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
CACHE_NAME
-
Constructor Summary
Constructors Constructor Description LoginCache()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LoginAttempt
addLoginAttempt(String login, Long mandantId)
static org.ehcache.Cache<String,LoginAttempt>
getCache()
Deprecated.static org.apache.commons.configuration.event.ConfigurationListener
getConfigurationChangeListener()
static String
getEntryKey(String login, Long mandantId)
static org.ehcache.Cache<String,LoginAttempt>
getInstance()
static LoginAttempt
getLoginAttempts(String login, Long mandantId)
static long
getLoginCount()
static int
getMaxDiskSize()
Deprecated.static int
getMaxHeapCount()
Deprecated.static void
init()
static void
reinit()
Reinitialize cache after configuration changestatic void
reinitConfig()
Deprecated.static void
shutdown()
Removes the cache instancestatic void
updateLoginCount()
-
-
-
Field Detail
-
CACHE_NAME
public static final String CACHE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getConfigurationChangeListener
public static org.apache.commons.configuration.event.ConfigurationListener getConfigurationChangeListener()
-
getLoginAttempts
public static LoginAttempt getLoginAttempts(String login, Long mandantId)
-
addLoginAttempt
public static LoginAttempt addLoginAttempt(String login, Long mandantId)
-
getLoginCount
public static long getLoginCount()
-
updateLoginCount
public static void updateLoginCount()
-
getInstance
public static org.ehcache.Cache<String,LoginAttempt> getInstance()
-
shutdown
public static void shutdown()
Removes the cache instance
-
init
public static void init()
-
reinit
public static void reinit()
Reinitialize cache after configuration change
-
reinitConfig
@Deprecated public static void reinitConfig()
Deprecated.
-
getMaxHeapCount
@Deprecated public static int getMaxHeapCount()
Deprecated.
-
getMaxDiskSize
@Deprecated public static int getMaxDiskSize()
Deprecated.
-
getCache
@Deprecated public static org.ehcache.Cache<String,LoginAttempt> getCache()
Deprecated.
-
-