- package com.oimacademy.reconciliation;
- import java.util.HashMap;
- import java.util.Map;
- import oracle.iam.reconciliation.api.EventAttributes;
- import oracle.iam.reconciliation.api.ReconOperationsService;
- import com.oimacademy.connection.Platform;
- public class DisconnectedRecon {
- public static void main(String[] args) {
- try {
- int i=5;
- ReconOperationsService recService = Platform.getService(ReconOperationsService.class);
- //Add Object Reconciliation Fields for resource Object. No Childern fields.
- Map<String, Object> mapKeyValue = new HashMap<String,Object>();
- //For Dummy Connector
- mapKeyValue.put("Account ID","TUSER"+i);
- // mapKeyValue.put("Account Login","TUSER"+i);
- mapKeyValue.put("IT Resource","DisconnectedApp");
- mapKeyValue.put("Password","Welcome12");
- EventAttributes eventAttr = new EventAttributes();
- eventAttr.setEventFinished(false);
- long reconEventKey = recService.createReconciliationEvent("DisconnectedApp", mapKeyValue,eventAttr);
- System.out.println("Recon Event ID -> "+reconEventKey);
- recService.finishReconciliationEvent(reconEventKey);
- //recService.processReconciliationEvent(reconEventKey);
- //processing event
- //recService.callingEndOfJobAPI();
- System.out.println("Completed Recon Event Operation -> "+reconEventKey);
- }catch(Exception e){
- e.printStackTrace();
- }
- }
- }package com.oimacademy.reconciliation;
- import java.util.HashMap;
- import java.util.Map;
- import oracle.iam.reconciliation.api.EventAttributes;
- import oracle.iam.reconciliation.api.ReconOperationsService;
- import com.oimacademy.connection.Platform;
- public class DisconnectedRecon {
- public static void main(String[] args) {
- try {
- int i=5;
- ReconOperationsService recService = Platform.getService(ReconOperationsService.class);
- //Add Object Reconciliation Fields for resource Object. No Childern fields.
- Map<String, Object> mapKeyValue = new HashMap<String,Object>();
- //For Dummy Connector
- mapKeyValue.put("Account ID","TUSER"+i);
- // mapKeyValue.put("Account Login","TUSER"+i);
- mapKeyValue.put("IT Resource","DisconnectedApp");
- mapKeyValue.put("Password","Welcome12");
- EventAttributes eventAttr = new EventAttributes();
- eventAttr.setEventFinished(false);
- long reconEventKey = recService.createReconciliationEvent("DisconnectedApp", mapKeyValue,eventAttr);
- System.out.println("Recon Event ID -> "+reconEventKey);
- recService.finishReconciliationEvent(reconEventKey);
- //recService.processReconciliationEvent(reconEventKey);
- //processing event
- //recService.callingEndOfJobAPI();
- System.out.println("Completed Recon Event Operation -> "+reconEventKey);
- }catch(Exception e){
- e.printStackTrace();
- }
- }
- }
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 API To Recon Disconnected Resources
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