- package com.oimacademy.password;
- import oracle.iam.identity.usermgmt.api.UserManager;
- import com.oimacademy.connection.Platform;
- public class Changepassword{
- @SuppressWarnings("deprecation")
- public static void main(String[] args) throws Exception {
- UserManager userManager = (UserManager)Platform.getService(UserManager.class);
- try {
- System.out.println("Changing the password to blank value");
- userManager.changePassword("TUSER4", "Welcome1".toCharArray(), true);
- // userManager.changePassword("TESTUSER1", pwd.toCharArray(), true);
- System.out.println("Changing the password done...");
- } catch (Exception e) {
- e.printStackTrace();
- throw e;
- }
- System.out.println("Done");
- }
- }
Oracle Identity Manager(OIM) is the Provisioning Solution from oracle. This page contains an index with references to all OIM related posts in the oracle identity manager Academy blog. The posts included herein are intended to provide oracle identity management customers and developers with technical information about best practices for implementing OIM based solutions.
OIM Change Password API
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment