Package de.xima.fc.web.common.cache
Class LoginCache
- java.lang.Object
-
- de.xima.fc.web.common.cache.LoginCache
-
- Direct Known Subclasses:
LoginCacheManager
@Deprecated public class LoginCache extends Object
Deprecated.UseLoginCacheinstead.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCACHE_NAMEDeprecated.UseLoginCache.CACHE_NAMEinstead.
-
Constructor Summary
Constructors Constructor Description LoginCache()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LoginAttemptaddLoginAttempt(String login, Long mandantId)Deprecated.UseLoginCache.addLoginAttempt(String)instead.static org.ehcache.Cache<String,LoginAttempt>getCache()Deprecated.static StringgetEntryKey(String login, Long mandantId)Deprecated.Use login ID directly.static org.ehcache.Cache<String,LoginAttempt>getInstance()Deprecated.UseLoginCache.getInstance()instead.static LoginAttemptgetLoginAttempts(String login, Long mandantId)Deprecated.UseLoginCache.getLoginAttempts(String)instead.static longgetLoginCount()Deprecated.LoginCache.getLoginCount()instead.static intgetMaxDiskSize()Deprecated.static intgetMaxHeapCount()Deprecated.static voidinit()Deprecated.UseLoginCache.init()instead.static voidreinit()Deprecated.UseLoginCache.reinit()instead.static voidreinitConfig()Deprecated.static voidshutdown()Deprecated.Useshutdown()instead.static voidupdateLoginCount()Deprecated.UseupdateLoginCount()instead.
-
-
-
Field Detail
-
CACHE_NAME
@Deprecated public static final String CACHE_NAME
Deprecated.UseLoginCache.CACHE_NAMEinstead.- See Also:
- Constant Field Values
-
-
Method Detail
-
getLoginAttempts
@Deprecated public static LoginAttempt getLoginAttempts(String login, Long mandantId)
Deprecated.UseLoginCache.getLoginAttempts(String)instead.
-
addLoginAttempt
@Deprecated public static LoginAttempt addLoginAttempt(String login, Long mandantId)
Deprecated.UseLoginCache.addLoginAttempt(String)instead.
-
getEntryKey
@Deprecated public static String getEntryKey(String login, Long mandantId)
Deprecated.Use login ID directly.
-
getLoginCount
@Deprecated public static long getLoginCount()
Deprecated.LoginCache.getLoginCount()instead.
-
updateLoginCount
@Deprecated public static void updateLoginCount()
Deprecated.UseupdateLoginCount()instead.
-
getInstance
@Deprecated public static org.ehcache.Cache<String,LoginAttempt> getInstance()
Deprecated.UseLoginCache.getInstance()instead.
-
shutdown
@Deprecated public static void shutdown()
Deprecated.Useshutdown()instead.Removes the cache instance
-
init
@Deprecated public static void init()
Deprecated.UseLoginCache.init()instead.
-
reinit
@Deprecated public static void reinit()
Deprecated.UseLoginCache.reinit()instead.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.
-
-