com.netscape.certsrv.connector
Interface IConnector


public interface IConnector

This interface represents a connector that forwards CMS requests to a remote authority. To register a connector, one can add the following to the CMS.cfg:


  Example for KRA type connector.
 ca.connector.KRA.enable=true
 ca.connector.KRA.host=thehost.netscape.com        #Remote host.
 ca.connector.KRA.port=1974                        #Remote host port.
 ca.connector.KRA.nickName="cert-kra"              #Nickname of connector for identity purposes.
 ca.connector.KRA.uri="/kra/connector"             #Uri of the KRA server.
 ca.connector.KRA.id="kra"
 ca.connector.KRA.minHttpConns=1                   #Min connection pool connections. 
 ca.connector.KRA.maxHttpConns=10                  #Max connection pool connections. 
 

Version:
$Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Method Summary
 boolean send(IRequest req)
          Sends the request to a remote authority.
 void start()
          Starts this connector.
 

Method Detail

send

boolean send(IRequest req)
             throws EBaseException
Sends the request to a remote authority.

Parameters:
req - Request to be forwarded to remote authority.
Returns:
true for success, otherwise false.
Throws:
EBaseException - Failure to send request to remote authority.

start

void start()
Starts this connector.