Extending an Identity Connector Bundle

16-22 Oracle Fusion Middleware Developers Guide for Oracle Identity Manager

16.5.1 Using the Java Connector Server

A Java Connector Server is used when you do not want to execute a Java Connector Bundle in the same Java Virtual Machine JVM as the application. This deployment may be beneficial in terms of performance as the bundle works faster when deployed on the same host as the managed target system. In addition, use Java Connector Server to eliminate possibility of an application JVM crash because of faulty JNI-based connector. Using the Java connector server is described in the following sections: ■ Installing and Configuring a Java Connector Server ■ Running the Java Connector Server on Microsoft Windows ■ Running the Java Connector Server on Solaris and Linux ■ Installing an Identity Connector in a Java Connector Server ■ Using SSL to Communicate with a Connector Server

16.5.1.1 Installing and Configuring a Java Connector Server

To install and configure the Java Connector Server: 1. Create a new directory on the computer on which you want to install the Java Connector Server. In this section, CONNECTOR_SERVER_HOME represents this directory. 2. Unzip the Java Connector Server package in your new directory from Step 1. Java Connector Server is available for download in the Oracle Technology Network Web site at the following URL: http:www.oracle.comtechnetworkindex.html 3. In the ConnectorServer.properties file in the conf directory, set the properties as required by your deployment. Table 16–1 lists the properties in the ConnectorServer.properties file: Tip: Get the following information defined during installation for use during either Connector Server configuration. ■ Host name and IP address ■ Connector Server port ■ Connector Server key ■ SSL enabled Table 16–1 Properties in the ConnectorServer.properties File Property Description connectorserver.port Port on which the Java Connector Server listens for requests. The default value is 8759. connectorserver.bundleDir Directory where the connector bundles are deployed. The default value is bundles. connectorserver.libDir Directory in which to place dependent libraries. The default value is lib. Understanding the Identity Connector Framework 16-23 4. Set the properties in the ConnectorServer.properties file, as follows: ■ To set connectorserver.key, run the Java Connector Server with the setKey option. See Running the Java Connector Server on Microsoft Windows on page 16-23 and Running the Java Connector Server on Solaris and Linux on page 16-24 for more information. ■ For all other properties, edit the ConnectorServer.properties file manually. 5. The conf directory also contains the logging.properties file, which you can edit if required by your deployment.

16.5.1.2 Running the Java Connector Server on Microsoft Windows

To run the Java Connector Server on Microsoft Windows, use the ConnectorServer.bat script, as follows:

1. Make sure that you have set the properties required by your deployment in the

ConnectorServer.properties file, as described in Installing and Configuring a Java Connector Server on page 16-22. 2. Change to the CONNECTOR_SERVER_HOME\bin directory and find the ConnectorServer.bat script. Table 16–2 lists the options supported by the ConnectorServer.bat script: connectorserver.usessl If set to true, the Java Connector Server uses SSL for secure communication. The default value is false. If you specify true, then use the following options on the command line when you start the Java Connector Server: ■ -Djavax.net.ssl.keyStore ■ -Djavax.net.ssl.keyStoreType optional ■ -Djavax.net.ssl.keyStorePassword connectorserver.ifaddress Bind address. To set this property, uncomment it in the file, if required. The bind address can be useful if there are more NICs installed on the computer. connectorserver.key Java Connector Server key. Table 16–2 Options Supported by the ConnectorServer.bat Script Option Description install [serviceName] [-J java-option] Installs the Java Connector Server as a Microsoft Windows service. Optionally, you can specify a service name and Java options. If you do not specify a service name, then the default name is ConnectorServerJava. run [-J java-option] Runs the Java Connector Server from the console. Optionally, you can specify Java options. For example, to run the Java Connector Server with SSL: ConnectorServer.bat run -J-Djavax.net.ssl.keyStore=mykeystore.jks -J-Djavax.net.ssl.keyStorePassword=password Table 16–1 Cont. Properties in the ConnectorServer.properties File Property Description