Last updated on JANUARY 04, 2017
Applies to:Oracle Access Manager - Version 184.108.40.206.0 and later
Information in this document applies to any platform.
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 weblogic:password -H "Content-Type: application/xml" --request POST --data "@/home/user/authz_policy.xml" http://oamhost.oracle.com:7001/oam/services/rest/220.127.116.11.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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms