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 String
CHALLANGE_CACHE_NAME
Name of challenge manager cache.static String
MANAGER_CACHE_NAME
Name 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 int
getMaxDiskSize()
Deprecated.static int
getMaxHeapCount()
Deprecated.static org.ehcache.Cache<String,org.ntlmv2.liferay.NtlmManager>
getNtlmManagerCache()
static org.ntlmv2.liferay.NtlmManager
getNtlmManagerInstance()
Erzeugt eine neue NtlmManager-Instanz oder holt sie aus dem Cachestatic void
init()
static void
reinit()
Reinitialize the cache with the current properties.static void
reinitConfig()
Deprecated.Usereinit()
.static void
shutdown()
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 ConfigurationException
Erzeugt 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
-
-