public class LoginCacheManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LOGIN_ATTAMTES_CACHE |
| Constructor and Description |
|---|
LoginCacheManager() |
| Modifier and Type | Method and Description |
|---|---|
static LoginAttempt |
addLoginAttempt(String login,
Integer mandantId) |
static String |
buildLoginCacheKey(String login,
Integer mandantId) |
static net.sf.ehcache.Cache |
getCache() |
static org.apache.commons.configuration.event.ConfigurationListener |
getConfigurationChangeListener() |
static LoginAttempt |
getLoginAttempts(String login,
Integer mandantId) |
static int |
getMaxDiskCount() |
static int |
getMaxHeapCount() |
static void |
init() |
static boolean |
isCacheFull() |
static void |
reinitConfig() |
static LoginAttempt |
removeAttempts(String login,
Integer mandantId) |
static void |
shutdown()
Removes all EH caches.
|
public static final String LOGIN_ATTAMTES_CACHE
public static void reinitConfig()
public static void init()
public static org.apache.commons.configuration.event.ConfigurationListener getConfigurationChangeListener()
public static LoginAttempt getLoginAttempts(String login, Integer mandantId)
public static LoginAttempt addLoginAttempt(String login, Integer mandantId)
public static LoginAttempt removeAttempts(String login, Integer mandantId)
public static boolean isCacheFull()
public static int getMaxHeapCount()
public static int getMaxDiskCount()
public static net.sf.ehcache.Cache getCache()
public static void shutdown()
Copyright © 2016. All rights reserved.