Class NtlmCache

    • Constructor Detail

      • NtlmCache

        public NtlmCache()
    • 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.