My Oracle Support Banner

How To Remove An Entitlement From Access Policy Default Data Level Using JAVA API in OIM 12c (Doc ID 2528700.1)

Last updated on JULY 21, 2020

Applies to:

Identity Manager - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Goal

Upgrading OIM 11g to 12c.

In OIM 11g one is able to used removeEntitlementFromPolicy() from tcAccessPolicyOperationsIntf to remove an entitlemebnt from access policy default data but now this method is deprecated in OIM 12c.

As per OIM 12c document, it advises to use updateAccessPolicy() method from AccessPolicyService in order to remove/add Entitlements but does not provide details how to actually achieve it.

Tried using following steps with the below mentioned code but unfortunately its not removing Entitlement:
1) Create an Access Policy using OIM Identity UI
2) Added 2 Entitlements into policy for an application instance.
3) While running following code, its not removing the expected Entitlement, I was expecting it to remove 2nd Entitlement:
 
         



While using the above code it is not removing the expected 2nd Entitlement even though code completes successfully without any error.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.