Class ConfiguredAuthServices

  • Direct Known Subclasses:
    ConfiguredSocialAuthServices

    public class ConfiguredAuthServices
    extends ChoiceValues
    The class determines the configured Identity Types for Identity Repository. This list is computed per realm.
    • Constructor Detail

      • ConfiguredAuthServices

        public ConfiguredAuthServices()
        Creates ConfiguredAuthServices object. Default constructor that will be used by the SMS to create an instance of this class
    • Method Detail

      • getChoiceValues

        public Map getChoiceValues()
        Returns the choice values and their corresponding localization keys.
        Specified by:
        getChoiceValues in class ChoiceValues
        Returns:
        the choice values and their corresponding localization keys.
      • getChoiceValues

        public Map getChoiceValues​(Map envParams)
        Returns the choice values from configured environment params.
        Overrides:
        getChoiceValues in class ChoiceValues
        Parameters:
        envParams - map for configured parameters
        Returns:
        the choice values from configured environment params.
      • filterConfigs

        protected Set<String> filterConfigs​(Set<String> namedConfigs,
                                            ServiceConfig parentConfig,
                                            String realm,
                                            SSOToken adminToken)
        Extensions will want to restrict the list of auth services. The default implementation just returns all.
        Parameters:
        namedConfigs - The auth services that have been found.
        parentConfig - The ServiceConfig parent of all auth services.
        realm - The current realm.
        adminToken - The current SSO token.
        Returns:
        The filtered list of auth services.