Class SSOUtils

    • Constructor Detail

      • SSOUtils

        public SSOUtils()
    • Method Detail

      • isSSOEnabled

        public static boolean isSSOEnabled()
      • getSystemProperty

        public static String getSystemProperty​(String key,
                                               String defaultValue)
      • loadClass

        public static Class<?> loadClass​(String filterClazz)
        Attempt to load class from various available classloaders
        Parameters:
        filterClazz - class
        Returns:
        loaded Class
      • substituteSystemProperty

        public static String substituteSystemProperty​(String input)
        Replaces variables of ${var:default} with System.getProperty(var, default). If no variables are found, returns the same string, otherwise a copy of the string with variables substituted
        Parameters:
        input -
        Returns:
        A string with vars replaced, or the same string if no vars found