Interface TaskModel

    • Method Detail

      • getCircleOfTrusts

        Set getCircleOfTrusts​(String realm)
                       throws AMConsoleException
        Returns a set of circle of trusts.
        Parameters:
        realm - Realm.
        Returns:
        a set of circle of trusts.
        Throws:
        AMConsoleException - if unable to retrieve circle of trusts.
      • getEntities

        Set getEntities​(String realm,
                        String cotName)
                 throws AMConsoleException
        Returns a set of entities in a circle of trust.
        Parameters:
        realm - Realm.
        cotName - Name of circle of trust.
        Returns:
        a set of entities in a circle of trust.
        Throws:
        AMConsoleException - if unable to retrieve entities.
      • getHostedIDP

        Set getHostedIDP​(String realm,
                         String cotName)
                  throws AMConsoleException
        Returns a set of hosted IDP in a circle of trust.
        Parameters:
        realm - Realm.
        cotName - Name of circle of trust.
        Returns:
        a set of hosted IDP in a circle of trust.
        Throws:
        AMConsoleException - if IDP cannot be returned.
      • getRemoteIDP

        Set getRemoteIDP​(String realm,
                         String cotName)
                  throws AMConsoleException
        Returns a set of remote IDP in a circle of trust.
        Parameters:
        realm - Realm.
        cotName - Name of circle of trust.
        Returns:
        a set of remote IDP in a circle of trust.
        Throws:
        AMConsoleException - if IDP cannot be returned.
      • getHostedSP

        Set getHostedSP​(String realm,
                        String cotName)
                 throws AMConsoleException
        Returns a set of hosted SP in a circle of trust.
        Parameters:
        realm - Realm.
        cotName - Name of circle of trust.
        Returns:
        a set of hosted SP in a circle of trust.
        Throws:
        AMConsoleException - if IDP cannot be returned.
      • getRemoteSP

        Set getRemoteSP​(String realm,
                        String cotName)
                 throws AMConsoleException
        Returns a set of remote SP in a circle of trust.
        Parameters:
        realm - Realm.
        cotName - Name of circle of trust.
        Returns:
        a set of remote SP in a circle of trust.
        Throws:
        AMConsoleException - if IDP cannot be returned.
      • getRealmCotWithHostedIDPs

        Map getRealmCotWithHostedIDPs()
                               throws AMConsoleException
        Returns a map of realm to a map of circle of trust name to a set of Hosted Identity Providers.
        Returns:
        a map of realm to a map of circle of trust name to a set of Hosted Identity Providers.
        Throws:
        AMConsoleException - if this map cannot be constructed.
      • setAcsUrl

        void setAcsUrl​(String realm,
                       String entityId,
                       String acsUrl)
                throws AMConsoleException
        Saves the Salesforce login url as the Assertion Consumer Service Location
        Parameters:
        realm - Realm
        entityId - Entity Name
        acsUrl - assertion consumer service location
        Throws:
        AMConsoleException - if value cannot be saved.