Class RemoteAuthority

java.lang.Object
com.netscape.cmscore.connector.RemoteAuthority

public class RemoteAuthority extends Object
This represents a remote authority that can be a certificate manager, or key recovery manager or some other manager.
  • Constructor Details

    • RemoteAuthority

      public RemoteAuthority(String host, int port, String uri, int timeout)
      host parameter can be: "directory.knowledge.com" "199.254.1.2" "directory.knowledge.com:1050 people.catalog.com 199.254.1.2"
    • RemoteAuthority

      public RemoteAuthority(String host, int port, Hashtable<String,String> uris, int timeout)
    • RemoteAuthority

      public RemoteAuthority(String host, int port, Hashtable<String,String> uris, int timeout, String contentType)
    • RemoteAuthority

      public RemoteAuthority()
  • Method Details

    • init

      public void init(ConfigStore c) throws EBaseException
      Throws:
      EBaseException
    • getHost

      public String getHost()
      Retrieves the host name of the remote Authority.
      Returns:
      String with the name of host of remote Authority.
    • getPort

      public int getPort()
      Retrieves the port number of the remote Authority.
      Returns:
      Int with port number of remote Authority.
    • getURI

      public String getURI()
      Retrieves the URI of the remote Authority.
      Returns:
      String with URI of remote Authority.
    • getURI

      public String getURI(String name)
      Retrieves a URI by operation (multi-URI support)
      Parameters:
      name - operation to determine the receiving servlet
    • getURIs

      public Hashtable<String,String> getURIs()
      Retrieves the list of URIs supported by the remote Authority (multi-URI support)
    • getTimeout

      public int getTimeout()
      Retrieves the timeout value for the connection to the remote Authority.
      Returns:
      In with remote Authority timeout value.
    • getContentType

      public String getContentType()
      Retrieves the Content-Type value of the connection to the Remote Authority.
      Returns:
      String with Content-Type, if it was set