Package com.netscape.cmscore.connector
Class RemoteAuthority
java.lang.Object
com.netscape.cmscore.connector.RemoteAuthority
- All Implemented Interfaces:
IRemoteAuthority
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteAuthority
(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
(String host, int port, Hashtable<String, String> uris, int timeout) RemoteAuthority
(String host, int port, Hashtable<String, String> uris, int timeout, String contentType) -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the Content-Type value of the connection to the Remote Authority.getHost()
Retrieves the host name of the remote Authority.int
getPort()
Retrieves the port number of the remote Authority.int
Retrieves the timeout value for the connection to the remote Authority.getURI()
Retrieves the URI of the remote Authority.Retrieves an URI by operation (multi-URI support)getURIs()
Retrieves the list of URIs supported by the remote Authority (multi-URI support)void
init
(ConfigStore c)
-
Constructor Details
-
RemoteAuthority
host parameter can be: "directory.knowledge.com" "199.254.1.2" "directory.knowledge.com:1050 people.catalog.com 199.254.1.2" -
RemoteAuthority
-
RemoteAuthority
-
RemoteAuthority
public RemoteAuthority()
-
-
Method Details
-
init
- Throws:
EBaseException
-
getHost
Description copied from interface:IRemoteAuthority
Retrieves the host name of the remote Authority.- Specified by:
getHost
in interfaceIRemoteAuthority
- Returns:
- String with the name of host of remote Authority.
-
getPort
public int getPort()Description copied from interface:IRemoteAuthority
Retrieves the port number of the remote Authority.- Specified by:
getPort
in interfaceIRemoteAuthority
- Returns:
- Int with port number of remote Authority.
-
getURI
Description copied from interface:IRemoteAuthority
Retrieves the URI of the remote Authority.- Specified by:
getURI
in interfaceIRemoteAuthority
- Returns:
- String with URI of remote Authority.
-
getURI
Description copied from interface:IRemoteAuthority
Retrieves an URI by operation (multi-URI support)- Specified by:
getURI
in interfaceIRemoteAuthority
- Parameters:
name
- operation to determine the receiving servlet
-
getURIs
Description copied from interface:IRemoteAuthority
Retrieves the list of URIs supported by the remote Authority (multi-URI support)- Specified by:
getURIs
in interfaceIRemoteAuthority
-
getTimeout
public int getTimeout()Description copied from interface:IRemoteAuthority
Retrieves the timeout value for the connection to the remote Authority.- Specified by:
getTimeout
in interfaceIRemoteAuthority
- Returns:
- In with remote Authority timeout value.
-
getContentType
Description copied from interface:IRemoteAuthority
Retrieves the Content-Type value of the connection to the Remote Authority.- Specified by:
getContentType
in interfaceIRemoteAuthority
- Returns:
- String with Content-Type, if it was set
-