OES11g - NewQueryPepRequest Throws 'Missing Attribute Value' When A Policy Obligation References An Attribute (Doc ID 2124157.1)

Last updated on APRIL 20, 2016

Applies to:

Oracle Entitlements Server - Version 11.1.2.2.0 to 11.1.2.2.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

Go to APM, and create the next security artifacts

1. Create Hierarchical resources  1. res1  2. res1->read 3.res1->create 4.res1->delete, res->update
2. Create view action
3. create resource attribute
4. Assign resource attribute only on the update
5. Now execute newQueryPepRequest, in the java code and will get the

newQueryPepRequest throws 'Missing attribute value' when a policy obligation references an attribute

newQueryPepRequest throws the following exception when a resource/policy has an attribute & values defined on it:

SEVERE: Error occured while invoking OES PEP API
org.openliberty.openaz.azapi.pep.PepException: com.bea.security.MissingAttributeException: Missed attribute value in runtime.
at oracle.security.jps.openaz.pep.PepRequestImpl.processQuery(PepRequestImpl.java:388)
at oracle.security.jps.openaz.pep.PepRequestImpl.decide(PepRequestImpl.java:186)
at com.standardandpoors.isp.dal.OesDAL.getAllowedResources(OesDAL.java:163)
at com.standardandpoors.isp.schema.delegate.AuthorizationServiceDelegate.getAllowedResources(AuthorizationServiceDelegate.java:171)
at com.standardandpoors.isp.schema.service.AccessControlServiceREST.getSubjectEntitlement(AccessControlServiceREST.java:309)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl

 

Cause

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