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.UseLoginCache
instead.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CACHE_NAME
Deprecated.UseLoginCache.CACHE_NAME
instead.
-
Constructor Summary
Constructors Constructor Description LoginCache()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LoginAttempt
addLoginAttempt(String login, Long mandantId)
Deprecated.UseLoginCache.addLoginAttempt(String)
instead.static org.ehcache.Cache<String,LoginAttempt>
getCache()
Deprecated.static String
getEntryKey(String login, Long mandantId)
Deprecated.Use login ID directly.static org.ehcache.Cache<String,LoginAttempt>
getInstance()
Deprecated.UseLoginCache.getInstance()
instead.static LoginAttempt
getLoginAttempts(String login, Long mandantId)
Deprecated.UseLoginCache.getLoginAttempts(String)
instead.static long
getLoginCount()
Deprecated.LoginCache.getLoginCount()
instead.static int
getMaxDiskSize()
Deprecated.static int
getMaxHeapCount()
Deprecated.static void
init()
Deprecated.UseLoginCache.init()
instead.static void
reinit()
Deprecated.UseLoginCache.reinit()
instead.static void
reinitConfig()
Deprecated.static void
shutdown()
Deprecated.Useshutdown()
instead.static void
updateLoginCount()
Deprecated.UseupdateLoginCount()
instead.
-
-
-
Field Detail
-
CACHE_NAME
@Deprecated public static final String CACHE_NAME
Deprecated.UseLoginCache.CACHE_NAME
instead.- 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.
-
-