OIM 11g: UserManager.changePassword is a one time use password - why?
I am writing an OIM application to bulk load passwords into OIM from another source. I am using OIMClient to connect to OIM and the UserManager class to set the password on each user. The method I am using is the following:
userMgr.changePassword(AttributeName, AttributeValue, password.toCharArray());
The problem I see now is that every time I call this changePassword() method to change the password on the user, it turns on the must-change-password-at-next-logon flag. I do not want to do this. The password I am setting on these users is their current password, they should not have to change it the next time they log onto OIM.
I have set the system property that says a user must change password at first logon to FALSE. But changing the password using that API still sets the flag on the USR table record.
Is there anything else I need to do to prevent the user from having to change their password again when they next logon?
Thanks for any advice.
-Dave