package com.massiveGaze.password; import com.massiveGaze.connection.OIMConnection; import oracle.iam.passwordmgmt.api.PasswordMgmtService; import oracle.iam.passwordmgmt.vo.PasswordPolicyInfo; public class DeletePasswordPolicy { static PasswordMgmtService passwordmgmtService = OIMConnection.getConnection().getService(PasswordMgmtService.class); public static void main(String[] args) throws Exception { // TODO Auto-generated method stub deletePolicy("PasswordPolicy90"); } public static void deletePolicy(String name){ // passwordmgmtService.delete(name) ; PasswordPolicyInfo passPolicyInfo = new PasswordPolicyInfo(); passPolicyInfo.setPasswordExpiresAfterInDays(null); passPolicyInfo.setName("PasswordPolicy1"); passwordmgmtService.update(passPolicyInfo); passPolicyInfo=passwordmgmtService.getDetails(passPolicyInfo.getName()); System.out.println(passPolicyInfo.getId()); System.out.println(passPolicyInfo.getPasswordExpiresAfterInDays()); } }
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 Delete Password Policy 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