Creating the Connector Info Manager
Important
Connectors continue to be released outside the IDM release. For the latest documentation, refer to the ICF documentation.
You must initiate a specific connector info manager type, depending on whether your connector is local or remote. The following samples show how to create a local connector info manager and a remote connector info manager.
Create a
ConnectorInfoManager
and aConnectorKey
for the connector.The
ConnectorKey
uniquely identifies the connector instance. TheConnectorKey
class takes abundleName
(the name of the Connector bundle), abundleVersion
(the version of the Connector bundle) and a connectorName (the name of the Connector)The
ConnectorInfoManager
retrieves aConnectorInfo
object for the connector by its connector key.Acquiring a Local Connector Info Object (Java)Important
Connectors continue to be released outside the IDM release. For the latest documentation, refer to the ICF documentation.
ConnectorInfoManagerFactory fact = ConnectorInfoManagerFactory.getInstance(); File bundleDirectory = new File("/connectorDir/bundles/myconnector"); URL url = IOUtil.makeURL(bundleDirectory, "/dist/org.identityconnectors.myconnector-1.0.jar"); ConnectorInfoManager manager = fact.getLocalManager(url); ConnectorKey key = new ConnectorKey("org.identityconnectors.myconnector", "1.0", "MyConnector");
Acquiring a Remote Connector Info Object (Java)Important
Connectors continue to be released outside the IDM release. For the latest documentation, refer to the ICF documentation.
ConnectorInfoManagerFactory fact = ConnectorInfoManagerFactory.getInstance(); File bundleDirectory = new File("/connectorDir/bundles/myconnector"); URL url = IOUtil.makeURL(bundleDirectory, "/dist/org.identityconnectors.myconnector-1.0.jar"); ConnectorInfoManager manager = fact.getLocalManager(url); ConnectorKey key = new ConnectorKey("org.identityconnectors.myconnector", "1.0", "MyConnector");