Class SAML2PluginsUtils


  • public class SAML2PluginsUtils
    extends Object
    The SAML2PluginsUtils contains utility methods for SAML 2.0 plugins classes.
    • Method Detail

      • isDynamicProfile

        public static boolean isDynamicProfile​(String realm)
        Checks if dynamic profile creation is enabled.
        Parameters:
        realm - Realm to check for the dynamic profile creation attribute.
        Returns:
        true if dynamic profile creation is enabled, false otherwise.
      • isDynamicalOrIgnoredProfile

        public static boolean isDynamicalOrIgnoredProfile​(String realm)
        Checks if dynamical profile creation or ignore profile is enabled.
        Parameters:
        realm - realm to check for the dynamical profile creation attribute.
        Returns:
        true if dynamical profile creation or ignore profile is enabled, false otherwise.
      • isIgnoredProfile

        public static boolean isIgnoredProfile​(Object session,
                                               String realm)
        Checks if ignore profile is enabled.
        Parameters:
        session - SSOToken to check the profile creation attributes.
        realm - realm to check for the profile creation attribute.
        Returns:
        true if ignore profile is enabled, false otherwise.