- package com.oimacademy.password;
- import oracle.iam.identity.exception.NoSuchUserException;
- import oracle.iam.identity.exception.UserManagerException;
- import oracle.iam.identity.usermgmt.api.UserManager;
- import oracle.iam.platform.authz.exception.AccessDeniedException;
- import com.oimacademy.connection.Platform;
- public class ResetPasswordAsXelsysadmin {
- public static void resetPassword(String userKey) throws NoSuchUserException, UserManagerException, AccessDeniedException{
- UserManager userManager = (UserManager) Platform.getService(UserManager.class);
- userManager.changePassword(userKey,"Pass_12345".toCharArray() , false);
- }
- public static void main(String[] args) throws NoSuchUserException, UserManagerException, AccessDeniedException {
- resetPassword("11021");
- }
- }
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 Reset Password As Xelsysadmin API
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment