Details
Description
When a policy is created with multiple rules, one of the rules will be appened to the Policy Name when accessing the /ws/1/entitlement/privilege endpoint.
To recreate:
1. Create a policy I used testPolicy.
2. Add two rules to the policy I used testRule1 and testRule2.
3. Read the policy through the REST endpoint /openam/ws/1/entitlement/privilege/testPolicy.
The following is returned with testRule2 appended to the policy name:
{"statusCode":200,"body":{"results": {"name":"testPolicy_testRule2","eSubject":{"state":"
{\n \"className\": \"com.sun.identity.policy.plugins.AuthenticatedUsers\",\n \"exclusive\": false,\n \"name\": \"testSubjects\",\n \"values\": []\n}","className":"com.sun.identity.entitlement.opensso.PolicySubject"},"entitlement":{"actionsValues":
{"POST":true,"GET":true},"applicationName":"iPlanetAMWebAgentService","name":"testRule2","resourceNames":["http://host3.example.com:80"]}}},"statusMessage":"OK"}