- package com.oimacademy.password;
- import java.util.logging.Logger;
- 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 AutoGeneratePassword {
- private static Logger logger = Logger.getLogger("MASSIVEGAZE.DEMO");
- public AutoGeneratePassword() {
- }
- public static void main(String[] args) throws NoSuchUserException, UserManagerException, AccessDeniedException {
- autoResetMethod();
- }
- public static void autoResetMethod() throws NoSuchUserException,
- UserManagerException, AccessDeniedException {
- String userLogin = "TUSER";
- UserManager userManager = (UserManager) Platform.getService(UserManager.class);
- userManager.resetPassword(userLogin, true, true);
- System.out.println("Password for user " + userLogin + " has been reset successfully!");
- }
- }
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 Auto Generate Password API
Subscribe to:
Post Comments (Atom)
-
Connection Related API's : OIM DB Connection/ Data Source connection OIMClient API / OIMConnection API OIM Platform API to getSer...
-
Error : Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.springframewor...
-
In this post, we set the middle name as “MiddleName” if user does not provide middle name during user create operation. Below are high...
No comments:
Post a Comment