Class XfcConfig


  • public final class XfcConfig
    extends Object
    • Field Detail

      • APPLICATION

        public static org.apache.commons.configuration.PropertiesConfiguration APPLICATION
      • LOGGING

        public static org.apache.commons.configuration.PropertiesConfiguration LOGGING
      • DATABASE

        public static org.apache.commons.configuration.PropertiesConfiguration DATABASE
      • NTLMAUTH

        public static org.apache.commons.configuration.PropertiesConfiguration NTLMAUTH
      • MAIL

        public static org.apache.commons.configuration.PropertiesConfiguration MAIL
      • CLUSTER

        public static org.apache.commons.configuration.PropertiesConfiguration CLUSTER
      • KERBEROS

        public static org.apache.commons.configuration.PropertiesConfiguration KERBEROS
      • CACHE

        public static org.apache.commons.configuration.PropertiesConfiguration CACHE
      • THEME_FILE_PATH

        public static String THEME_FILE_PATH
      • LIST_PROPERTY_PREFIX

        public static String LIST_PROPERTY_PREFIX
    • Constructor Detail

      • XfcConfig

        public XfcConfig()
    • Method Detail

      • setFrontendServer

        public static void setFrontendServer​(boolean frontendServer)
      • isFrontendServer

        public static boolean isFrontendServer()
      • getContext

        public static javax.servlet.ServletContext getContext()
      • hasGuiCommonModule

        public static boolean hasGuiCommonModule()
      • hasInboxModule

        public static boolean hasInboxModule()
      • getServerInfo

        public static String getServerInfo()
      • initApplication

        public static void initApplication()
      • initMail

        public static void initMail()
      • initDatabase

        public static void initDatabase()
      • initLDAPAuthConfig

        public static void initLDAPAuthConfig()
      • initKerberosConfig

        public static void initKerberosConfig()
      • initClusterConfig

        public static void initClusterConfig()
      • initCacheConfig

        public static void initCacheConfig()
      • initThemeCss

        public static void initThemeCss()
      • getBoolean

        public static boolean getBoolean​(org.apache.commons.configuration.AbstractConfiguration props,
                                         String key,
                                         boolean defaultValue)
        Retrieves a value from the given properties object and converts it to a boolean. Compared with AbstractConfiguration.getBoolean(String, Boolean), this never throws and returns the default value for non-boolean values.
        Parameters:
        props - Properties object from which to get a boolean.
        key - Key to access on the properties object.
        defaultValue - Default value used when the properties object does not contain a valid boolean value.
        Returns:
        The boolean value at the given key, or the default when it does not contain a valid boolean value for the key.
      • configureLog4j

        public static void configureLog4j()
      • configureLocale

        public static void configureLocale()
      • shutdown

        public static void shutdown​(javax.servlet.ServletContext ctx)
      • init

        public static void init​(javax.servlet.ServletContext ctx)
      • hasNTLMConfig

        public static boolean hasNTLMConfig()
        Prüft, ob Konfigurationswerte für NTLM-Authentifizierung existieren
        Returns:
        true oder false, wenn ein Wert fehlt
      • isNTLMActive

        public static boolean isNTLMActive()
      • isNTLMUseForSSO

        public static boolean isNTLMUseForSSO()
      • isKerberosActive

        public static boolean isKerberosActive()
      • isKerberosUseForSSO

        public static boolean isKerberosUseForSSO()
      • isSystemMailActive

        public static boolean isSystemMailActive()
        Prüft, ob die System-Mail-Einstellung aktiviert ist und die entsprechenden Properties vorhanden sind.
        Returns:
        true wenn aktiviert, false wenn nicht
      • getInlineTheme

        public static String getInlineTheme()
      • getInlineThemeLastModified

        public static long getInlineThemeLastModified()
      • getTransformedNamesList

        public static List<String> getTransformedNamesList​(List<String> nameList)