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
-
-
Field Summary
Fields Modifier and Type Field Description static String
CHALLANGE_CACHE_NAME
Name of cache.static String
MANAGER_CACHE_NAME
-
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 org.apache.commons.configuration.event.ConfigurationListener
getConfigurationChangeListener()
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 cache after configuration changestatic void
reinitConfig()
Deprecated.static void
shutdown()
Removes the cache instance
-
-
-
Field Detail
-
CHALLANGE_CACHE_NAME
public static final String CHALLANGE_CACHE_NAME
Name of cache.- See Also:
- Constant Field Values
-
MANAGER_CACHE_NAME
public static final String MANAGER_CACHE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getConfigurationChangeListener
public static org.apache.commons.configuration.event.ConfigurationListener getConfigurationChangeListener()
-
getNtlmManagerCache
public static org.ehcache.Cache<String,org.ntlmv2.liferay.NtlmManager> getNtlmManagerCache()
-
getChallengeManagerCache
public static org.ehcache.Cache<String,byte[]> getChallengeManagerCache()
-
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
-
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.
-
-