How to write a custom connector
Dear all,
I am new to OIM.
I have a requirement to access one of the lotus notes database file called "location.nsf" and retrieve the data and populate it in OIM lookups.
Our OIM version is 11.1.1.5.
We have the Lotus Domino connector installed. It wrote a custom scheduled job, and from my scheduled job code, I called the connector APIs to retrieve the data.
But looks like the connector is configured to retrieve only User and Group data from "names.nsf".
So my understanding is that I have to write a new Connector to connect to location.nsf.
I tried following the "developer guide", but the documentation is minimal, and it gives only a flat-file connector example. I ran into the following issues:
When I tried creating a new connector inside a new bundle JAR, I am getting Exception when I ran the UploadJars.sh. Exception as below:
(+Caused by: javax.naming.NameNotFoundException: While trying to lookup 'ejb.stateless.ClientLoginSessionService#oracle.iam.platformservice.api.ClientLoginSessionServiceRemote' didn't find subcontext 'stateless'. Resolved 'ejb'+)
Also, when I tried putting my Connector into the existing bundle JAR, I am getting the following exception while creating ApiConfig:
(NullPointerException :: at org.identityconnectors.framework.impl.api.local.ConnectorBundleManifestParser.getAttributes(ConnectorBundleManifestParser.java:55))
As I am very new to OIM, I am not even sure if I am following the right procedure.
Could anybody kindly let me know how to go about connecting to this nsf and retrieving the data? Any help would be of great use.
Thanks,