How to Use PolicyManager API To Find Out the Rules Associated with a Policy?

(Doc ID 2338183.1)

Last updated on JANUARY 07, 2018

Applies to:

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

Goal

The PolicyManager API doc does not have any information on how to use the search on Policy to find out the Rules Associated with a Policy?

PoliyManager APIs links:
 
 1. https://docs.oracle.com/cd/E52734_01/oim/OMJAV/oracle/iam/policyengine/api/PolicyManager.html#search_oracle_iam_platform_entitymgr_vo_SearchCriteria__java_util_Set__java_util_Map_
 2. Search for Policy is feasible and same returns VO of the following type but doing a policy.getWorkFlowName or using any other API from the following API doc is not giving any results and returns null.
  https://docs.oracle.com/cd/E52734_01/oim/OMJAV/oracle/iam/policyengine/vo/Policy.html

For example: Code written to fetch Policy details (expecting associated Rule details as well)

--------------------------
  


No rule information is in the output of the Policy Search and same is required. 

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms