Class 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
    • Constructor Detail

      • NtlmCache

        public NtlmCache()
    • 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.
        Reinitialize the cache with the current properties.
      • shutdown

        public static void shutdown()
        Removes the cache instance