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 StringCACHE_NAME 
- 
Constructor Summary
Constructors Constructor Description LoginCache() 
- 
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LoginAttemptaddLoginAttempt(String login, Long mandantId)static org.ehcache.Cache<String,LoginAttempt>getCache()Deprecated.static org.apache.commons.configuration.event.ConfigurationListenergetConfigurationChangeListener()static StringgetEntryKey(String login, Long mandantId)static org.ehcache.Cache<String,LoginAttempt>getInstance()static LoginAttemptgetLoginAttempts(String login, Long mandantId)static longgetLoginCount()static intgetMaxDiskSize()Deprecated.static intgetMaxHeapCount()Deprecated.static voidinit()static voidreinit()Reinitialize cache after configuration changestatic voidreinitConfig()Deprecated.static voidshutdown()Removes the cache instancestatic voidupdateLoginCount() 
 - 
 
- 
- 
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. 
 - 
 
 -