1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | package com.massiveGaze.orgs; import java.util.HashMap; import oracle.iam.identity.orgmgmt.api.OrganizationManager; import oracle.iam.identity.orgmgmt.api.OrganizationManagerConstants; import oracle.iam.identity.orgmgmt.vo.Organization; import oracle.iam.platform.OIMClient; import com.massiveGaze.connection.OIMConnection; import com.massiveGaze.password.PasswordPolicy; public class UpdateOrganizations { protected static OIMClient platform = OIMConnection.getConnection(); protected static OrganizationManager m_orgManagerService =(OrganizationManager) platform.getService(OrganizationManager.class); public static String updateOrgPasswordPolicy(String orgKey) throws Exception { String result =null; HashMap<String, Object> updateAttributes = new HashMap<String, Object>(); updateAttributes.put(OrganizationManagerConstants.AttributeName.ORG_PASSWORD_POLICY_KEY.getId(),PasswordPolicy.passwordPolicyCreate()); //updateAttributes.put(OrganizationManagerConstants.AttributeName.ORG_PASSWORD_POLICY_NAME.getId(), "PasswordPolicy90"); result= m_orgManagerService.modify(new Organization(orgKey,updateAttributes)); System.out.println("updateOrgPasswordPolicy with result -> "+result); return orgKey; } } |
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 Update Organizations Deatils API
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