Package de.xima.fc.web.common.cache
Class NtlmCache
- java.lang.Object
-
- de.xima.fc.web.common.cache.NtlmCache
-
- Direct Known Subclasses:
NtlmCacheManager
public class NtlmCache extends Object
Cache for NTLM related settings, such as the available challenge managers.- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
Fields Modifier and Type Field Description static StringCHALLANGE_CACHE_NAMEName of challenge manager cache.static StringMANAGER_CACHE_NAMEName of NTLM manager cache.
-
Constructor Summary
Constructors Constructor Description NtlmCache()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static org.ehcache.Cache<String,byte[]>getChallengeManagerCache()static intgetMaxDiskSize()Deprecated.static intgetMaxHeapCount()Deprecated.static org.ehcache.Cache<String,org.ntlmv2.liferay.NtlmManager>getNtlmManagerCache()static org.ntlmv2.liferay.NtlmManagergetNtlmManagerInstance()Erzeugt eine neue NtlmManager-Instanz oder holt sie aus dem Cachestatic voidinit()static voidreinit()Reinitialize the cache with the current properties.static voidreinitConfig()Deprecated.Usereinit().static voidshutdown()Removes the cache instance
-
-
-
Field Detail
-
CHALLANGE_CACHE_NAME
public static final String CHALLANGE_CACHE_NAME
Name of challenge manager cache.- See Also:
- Constant Field Values
-
MANAGER_CACHE_NAME
public static final String MANAGER_CACHE_NAME
Name of NTLM manager cache.- See Also:
- Constant Field Values
-
-
Method Detail
-
getChallengeManagerCache
public static org.ehcache.Cache<String,byte[]> getChallengeManagerCache()
-
getMaxDiskSize
@Deprecated public static int getMaxDiskSize()
Deprecated.
-
getMaxHeapCount
@Deprecated public static int getMaxHeapCount()
Deprecated.
-
getNtlmManagerCache
public static org.ehcache.Cache<String,org.ntlmv2.liferay.NtlmManager> getNtlmManagerCache()
-
getNtlmManagerInstance
public static org.ntlmv2.liferay.NtlmManager getNtlmManagerInstance() throws ConfigurationExceptionErzeugt eine neue NtlmManager-Instanz oder holt sie aus dem Cache- Returns:
- the
NtlmManager - Throws:
ConfigurationException- on errors while initilization
-
init
public static void init()
-
reinit
public static void reinit()
Reinitialize the cache with the current properties.
-
reinitConfig
@Deprecated public static void reinitConfig()
Deprecated.Usereinit().Reinitialize the cache with the current properties.
-
shutdown
public static void shutdown()
Removes the cache instance
-
-