OAM 11gR2: REST APIs Don't Link Resources With AuthN And AuthZ Policies After Import In Target Environment (Doc ID 1996340.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Access Manager - Version 11.1.2.2.0 and later
Information in this document applies to any platform.

Goal

On : OAM 11.1.2.2.0 version,

Following docs url at: http://docs.oracle.com/cd/E27559_01/dev.1112/e27134/plcyadmn_rest.htm


REST APIs don't link Resource with the AuthN and AuthZ policies

We wanted to use REST APIs for doing an incremental migration of the policies as from the TEST environment to the PROD environment.

1. We have exported policy data from TEST env, using REST APIs:
  - Application Domain
  - All Resources
  - AuthN Policies
  - AuthZ Policies

2. We then loaded the xml files from the TEST as into the PROD environment. All import were successful in PROD (also using REST APIs).

BUT, The problem is that there is NO established link between the imported Resources and related AuthN and AuthZ policies.
The link of a Resource with its related AuthN and AuthZ policies seems to be made as based on the Resource ID.


Is there a way to export the link between Resource and AuthN or AuthZ policy based on the resource name ?

Are you aware of any workaround for this issue ?
 

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