Problem

A Forum reader recently asked:

“I am new to IDM technology. I would like to know whether is it possible to access the custom Java method from Identity Manager.

I am using the delimited text driver and generating a .csv file while adding/modifying/deleting the users. I am reading these .csv files and generating an XML file for each user with the data in the .csv file. I have finished the Java code and is working fine manually. But my requirement is to invoke this java code after each add/modify/delete operation.”

And here’s the response from Lothar Haeger …

Solution

On IDM 2 or 3.0, tru this:

On the server,

1. Create a .jar file of your code.

2. Place it in the path of your IDM server.

3. Restart DirXML (or eDirectory, or the server).

In iManager or Designer,

4. Create a namespace mapping.

5. Call your code via the mapping from xpath.

For IDM 3.5.x it’s the same as above; or, in iManager/designer:

1. Port your code to ECMA script (aka Javascript).

2. Place the code in an ecma script policy.

3. Link the policy to the driver.

4. Call your code from XPATH via the es:myFunction mapping.

The documentation does not talk a lot about this, unfortunately. Take a look at the “IntruderLockout” policy in this driver for an example:
http://www.brummelhook.com/en/dirxml.html#pwnotify

1 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 5 (1 votes, average: 5.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Leave a Reply

No Comments
lhaeger
By: lhaeger
Aug 1, 2007
10:19 am
Reads:
1,633
Score:
5