Class SAMLServiceManager.SiteEntry

  • Enclosing class:
    SAMLServiceManager

    public static class SAMLServiceManager.SiteEntry
    extends Object
    This class contains the mapping between supported target host:port(target) and its saml-aware-servlet URL & sourceid. target is the primary Key.
    • Constructor Detail

      • SiteEntry

        public SiteEntry​(String host,
                         int port,
                         String sourceid,
                         String samlUrl,
                         String postUrl,
                         String version)
        Constructs SiteEntry object.
        Parameters:
        host - hostname of the target site.
        port - port number of the target site.
        sourceid - Base64 encoded 20-byte sequence which represents id of the site.
        samlUrl - site's endpoint which handles SAML web browser artifact profile.
        postUrl - site's endpoint which handles SAML web broser POST profile.
        version - prefered SAML version the site wants to use. Its possible values are 1.0, 1.1.
    • Method Detail

      • getSAMLUrl

        public String getSAMLUrl()
        Returns URL endpoint which handles SAML web browser artifact profile.
        Returns:
        String URL endpoint which handles SAML artifact profile.
      • getPOSTUrl

        public String getPOSTUrl()
        Returns URL endpoint which handles SAML web browser POST profile.
        Returns:
        String URL endpoint which handles SAML POST profile.
      • getHostName

        public String getHostName()
        Returns host name of the target.
        Returns:
        String host name of the target.
      • getPort

        public int getPort()
        Returns port of the target.
        Returns:
        int port of the target.
      • getSourceID

        public String getSourceID()
        Returns source ID of the site.
        Returns:
        String source ID of the site. It's a Base64 encoded 20-byte sequence.
      • getVersion

        public String getVersion()
        Returns the SAML version the partner site is preferred to use. Its value is 1.0 or 1.1.
        Returns:
        String SAML version the partner site is preferred to use.