Policy Administration REST API Fails To Create Authorization Policy With Attribute Condition
(Doc ID 1907134.1)
Last updated on NOVEMBER 07, 2019
Applies to:Oracle Access Manager - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
Oracle is not responsible for instructions/information from 3rd party sites that may be contained in this KM note.
When trying to add an authorization policy which contains an attribute condition using the policy administration REST API as below. a 500 error is returned.
curl -u <WLS_ADMIN>:<WLS_PASSWORD> -H "Content-Type: application/xml" --request POST --data "@<HOME_USER>/authz_policy.xml" http://<OAM_FQ_HOSTNAME>:<OAM_PORT>/oam/services/rest/18.104.22.168.0/ssa/policyadmin/authzpolicy
If the attribute condition is removed, the same xml file will load successfully. If the same policy is added manually and displayed using the API, the structure displayed is identical to what was in the xml file.
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