Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to stop OIM password auto-generation during trusted reconciliation?

3036910Oct 19 2015 — edited Oct 21 2015

Hello.

I am running trusted reconciliation against DB source with OIM 11GR2 PS3. I want to generate a password for every new user, based on algorithm required by customer.

I have created PostProcess event handler on CREATE and MODIFY with the following code:

UserManager usrMgr = Platform.getService(UserManager.class);

String newPassword = generatePassword(params); // generates a complex password that is good enough for OIM default password policy

usrMgr.changePassword(UserLogin, newPassword.toCharArray(), true, false);

Plugin returns no errors, however, in the end OIM creates a new user with some random password (ex. blablaqwwdfe11234) that is not equal to newPassword specified by me.

I want users to be created with the password I specify, not some random passwords! How do I switch off this random password generation or at least make it so that my plugin is triggered AFTER the random password has been set, so I can rewrite the password to necessary value?

This post has been answered by Abhishek Singh 'J_IDM' on Oct 19 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 18 2015
Added on Oct 19 2015
3 comments
622 views