Package com.netscape.cmscore.connector
Class RemoteAuthority
- java.lang.Object
-
- com.netscape.cmscore.connector.RemoteAuthority
-
- All Implemented Interfaces:
com.netscape.certsrv.connector.IRemoteAuthority
public class RemoteAuthority extends java.lang.Object implements com.netscape.certsrv.connector.IRemoteAuthority
-
-
Constructor Summary
Constructors Constructor Description RemoteAuthority()
RemoteAuthority(java.lang.String host, int port, java.lang.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(java.lang.String host, int port, java.util.Hashtable<java.lang.String,java.lang.String> uris, int timeout)
RemoteAuthority(java.lang.String host, int port, java.util.Hashtable<java.lang.String,java.lang.String> uris, int timeout, java.lang.String contentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContentType()
Retrieves the Content-Type value of the connection to the Remote Authority.java.lang.String
getHost()
Retrieves the host name of the remote Authority.int
getPort()
Retrieves the port number of the remote Authority.int
getTimeout()
Retrieves the timeout value for the connection to the remote Authority.java.lang.String
getURI()
Retrieves the URI of the remote Authority.java.lang.String
getURI(java.lang.String name)
Retrieves an URI by operation (multi-URI support)java.util.Hashtable<java.lang.String,java.lang.String>
getURIs()
Retrieves the list of URIs supported by the remote Authority (multi-URI support)void
init(IConfigStore c)
-
-
-
Constructor Detail
-
RemoteAuthority
public RemoteAuthority(java.lang.String host, int port, java.lang.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(java.lang.String host, int port, java.util.Hashtable<java.lang.String,java.lang.String> uris, int timeout)
-
RemoteAuthority
public RemoteAuthority(java.lang.String host, int port, java.util.Hashtable<java.lang.String,java.lang.String> uris, int timeout, java.lang.String contentType)
-
RemoteAuthority
public RemoteAuthority()
-
-
Method Detail
-
init
public void init(IConfigStore c) throws EBaseException
- Throws:
EBaseException
-
getHost
public java.lang.String getHost()
Description copied from interface:com.netscape.certsrv.connector.IRemoteAuthority
Retrieves the host name of the remote Authority.- Specified by:
getHost
in interfacecom.netscape.certsrv.connector.IRemoteAuthority
- Returns:
- String with the name of host of remote Authority.
-
getPort
public int getPort()
Description copied from interface:com.netscape.certsrv.connector.IRemoteAuthority
Retrieves the port number of the remote Authority.- Specified by:
getPort
in interfacecom.netscape.certsrv.connector.IRemoteAuthority
- Returns:
- Int with port number of remote Authority.
-
getURI
public java.lang.String getURI()
Description copied from interface:com.netscape.certsrv.connector.IRemoteAuthority
Retrieves the URI of the remote Authority.- Specified by:
getURI
in interfacecom.netscape.certsrv.connector.IRemoteAuthority
- Returns:
- String with URI of remote Authority.
-
getURI
public java.lang.String getURI(java.lang.String name)
Description copied from interface:com.netscape.certsrv.connector.IRemoteAuthority
Retrieves an URI by operation (multi-URI support)- Specified by:
getURI
in interfacecom.netscape.certsrv.connector.IRemoteAuthority
- Parameters:
name
- operation to determine the receiving servlet
-
getURIs
public java.util.Hashtable<java.lang.String,java.lang.String> getURIs()
Description copied from interface:com.netscape.certsrv.connector.IRemoteAuthority
Retrieves the list of URIs supported by the remote Authority (multi-URI support)- Specified by:
getURIs
in interfacecom.netscape.certsrv.connector.IRemoteAuthority
-
getTimeout
public int getTimeout()
Description copied from interface:com.netscape.certsrv.connector.IRemoteAuthority
Retrieves the timeout value for the connection to the remote Authority.- Specified by:
getTimeout
in interfacecom.netscape.certsrv.connector.IRemoteAuthority
- Returns:
- In with remote Authority timeout value.
-
getContentType
public java.lang.String getContentType()
Description copied from interface:com.netscape.certsrv.connector.IRemoteAuthority
Retrieves the Content-Type value of the connection to the Remote Authority.- Specified by:
getContentType
in interfacecom.netscape.certsrv.connector.IRemoteAuthority
- Returns:
- String with Content-Type, if it was set
-
-