package com.massiveGaze.reconciliation; import java.util.HashMap; import java.util.Map; import oracle.iam.reconciliation.api.ChangeType; import oracle.iam.reconciliation.api.EventAttributes; import oracle.iam.reconciliation.api.ReconOperationsService; import com.massiveGaze.connection.Platform; public class TestReconViaAPI { public static void main(String[] args) { try { ReconOperationsService recService = Platform.getService(ReconOperationsService.class); //Add Object Reconciliation Fields for resource Object. No Childern fields. Map<String, Object> mapKeyValue = new HashMap<String,Object>(); mapKeyValue.put("Account Name","TUSER3"); mapKeyValue.put("IT resource","TestITResourceName"); mapKeyValue.put("User Name","TUSER3"); mapKeyValue.put("Password","Welcome1"); //Create Even Attribute and call createReconciliationEvent EventAttributes eventAttr = new EventAttributes(); eventAttr.setEventFinished(false); eventAttr.setChangeType(ChangeType.REGULAR); long reconEventKey = recService.createReconciliationEvent("TESTResource", mapKeyValue,eventAttr); System.out.println("Recon Event ID -> "+reconEventKey); /*********Creating Data set Up for Child Forms *******************************/ //Create multi valued AttributeData for Child Forms Map<String,Object> mapChldKeyValue = null; recService.providingAllMultiAttributeData(reconEventKey, "Group Name",true); //Add Child Form multi valued data mapChldKeyValue = new HashMap<String,Object>(); mapChldKeyValue.put("CHDLKU","fgdfg"); recService.addMultiAttributeData(reconEventKey,"Group Name", mapChldKeyValue); 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 R2PS2/PS3/12C) is a highly flexible and scalable enterprise identity administration system that provides operational and business efficiency by providing centralized administration & complete automation of identity and user provisioning events across enterprise as well as extranet applications.
OIM Recon API for Account and Entitlement
Subscribe to:
Posts (Atom)
About OIM
Oracle Identity Management enables organizations to effectively manage the end - to - end life - cycle of user ide...
Popular Posts
-
OIM API's Sample Code : Videos: Massive Gaze Videos Connection Related API's : OIM DB Connection/ Data Source connection ...
-
Videos: Massive Gaze Videos 1. Basic OIM Information 2. MDS Export/Import 3. Steps For R2PS2 / R2PS3 Custom Pre-processor Ev...
-
Videos: Massive Gaze Videos 1. Query to get OIM Provsioned/provisioning Account details 2. Query to get usr keys For Rejected / ...
No comments:
Post a Comment