OES11g - Unable To Access Response Status Using PEP API, trough Java SM

(Doc ID 2225429.1)

Last updated on MAY 26, 2017

Applies to:

Oracle Entitlements Server - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Goal

Unable to access response status when using PEP API

Attempting to write an interface with the PEP API

6.1.1 Understanding the PEP API

It is mentioned that the API should return a "status" explaining why an evaluation failed. 

However unable to locate this in the JAVA SM response.

The message does appear in the XACML response from a Web Service Security Module, but no in Java Security Module.

To be more explicit, creating a PepRequest object with the subject, action, resource, and environment variables; then calling the .decide() method on that object.

Able to obtain the decision and obligations but unable to retrieve any further status information.

Expected to have more information when the decision was denied due to a processing error, missing attribute, or broken connection to a PIP LDAP for example.

Is this possible using the JAVA SM?

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