Interface FSAuthDomainsModel

    • Field Detail

      • TF_DESCRIPTION

        static final String TF_DESCRIPTION
        Attribute Name for Authenticaton Domain Description.
        See Also:
        Constant Field Values
      • TF_IDFF_WRITER_SERVICE_URL

        static final String TF_IDFF_WRITER_SERVICE_URL
        Attribute Name for Writer Service URL.
        See Also:
        Constant Field Values
      • TF_IDFF_READER_SERVICE_URL

        static final String TF_IDFF_READER_SERVICE_URL
        Attribute Name for Reader Service URL.
        See Also:
        Constant Field Values
      • TF_SAML2_WRITER_SERVICE_URL

        static final String TF_SAML2_WRITER_SERVICE_URL
        Attribute Name for Writer Service URL.
        See Also:
        Constant Field Values
      • TF_SAML2_READER_SERVICE_URL

        static final String TF_SAML2_READER_SERVICE_URL
        Attribute Name for Reader Service URL.
        See Also:
        Constant Field Values
      • SINGLE_CHOICE_STATUS

        static final String SINGLE_CHOICE_STATUS
        Attribute Name for Authenticaton Domain Status.
        See Also:
        Constant Field Values
      • SINGLE_CHOICE_REALM

        static final String SINGLE_CHOICE_REALM
        Attribute Name for Authenticaton Domain realm.
        See Also:
        Constant Field Values
    • Method Detail

      • getAuthenticationDomains

        Set getAuthenticationDomains()
        Returns authentication domains
        Returns:
        authentication domains
      • getCircleOfTrustDescriptors

        Set getCircleOfTrustDescriptors()
        Returns a Set of COT descriptors
        Returns:
        Set of COT descriptors
      • createAuthenticationDomain

        void createAuthenticationDomain​(Map attrValues,
                                        Set providers)
                                 throws AMConsoleException
        Creates authentication domain.
        Parameters:
        attrValues - Map of attribute name to set of attribute values.
        Throws:
        AMConsoleException - if authentication domain cannot be created.
      • deleteAuthenticationDomain

        void deleteAuthenticationDomain​(String realm,
                                        String cotName)
                                 throws AMConsoleException
        Deletes authentication domains.
        Parameters:
        realm - the realm containing the authentication domain
        cotName - Name of circle of trust
        Throws:
        AMConsoleException - if authentication domains cannot be deleted.
      • getAttributeValues

        Map getAttributeValues​(String realm,
                               String name)
                        throws AMConsoleException
        Returns attribute values.
        Parameters:
        realm - the realm containing the authentication domain
        name - Name of authentication domain.
        Returns:
        attribute values.
        Throws:
        AMConsoleException - if attribute values cannot be obtained.
      • setAttributeValues

        void setAttributeValues​(String realm,
                                String name,
                                Map values)
                         throws AMConsoleException
        Set attribute values.
        Parameters:
        realm - Realm of authentication domain.
        name - Name of authentication domain.
        values - Map of attribute name to value.
        Throws:
        AMConsoleException - if attribute values cannot be set.
      • getDataMap

        Map getDataMap()
        Returns a map of authentication domain attributes.
        Returns:
        Map of authentication domain attributes.
      • getAllProviderNames

        Set getAllProviderNames​(String realm)
                         throws AMConsoleException
        Returns a set of provider names.
        Parameters:
        realm - the realm to search for provider names
        Returns:
        a set of provider names.
        Throws:
        AMConsoleException - if provider names cannot be obtained.
      • getTrustedProviderNames

        Set getTrustedProviderNames​(String realm,
                                    String name)
                             throws AMConsoleException
        Returns a set of provider names under a authentication domain.
        Parameters:
        realm - the realm containing the authentication domain
        name - Name of authentication domain.
        Returns:
        a set of provider names under a authentication domain.
        Throws:
        AMConsoleException - if provider names cannot be obtained.
      • addProviders

        void addProviders​(String realm,
                          String cotName,
                          Collection names)
                   throws AMConsoleException
        Adds providers.
        Parameters:
        realm - realm of circle of trust
        cotName - Name of circle of trust
        names - Names provider to be added.
        Throws:
        AMConsoleException - if provider cannot be added.
      • getRealmNames

        Set getRealmNames​(String base,
                          String filter)
                   throws AMConsoleException
        Returns realms that have names matching with a filter.
        Specified by:
        getRealmNames in interface AMModel
        Parameters:
        base - Base realm name for this search. null indicates root suffix.
        filter - Filter string.
        Returns:
        realms that have names matching with a filter.
        Throws:
        AMConsoleException - if search fails.
      • getRealm

        String getRealm​(String name)
                 throws AMConsoleException
        Returns the realm associated with the given circle of trust.
        Parameters:
        name - circle of trust name.
        Returns:
        realm where the circle of trust exists.
        Throws:
        AMConsoleException - if search fails.