Session Attribute Set Using OAM 11g ASDK Can Not Be Retrieved As OAM Cookie or HTTP Header Response (Doc ID 1454820.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Access Manager - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Symptoms

 Attributes set with Oracle Access Manager 11.1.1.5 Access Software Development Kit (ASDK) setSessionAttributes are not available using Authentication or Authorization Response configuration.

The OAM 11.1.1.5 ASDK is being implemented to create an OAM user session and set a session attribute using setSessionAttributes. This session attribute value is not available when an OAM 11g policy is configured to return Response ${session.attr.<ATTRNAME>}. Also getSessionAttributes does not return the expected value(s).
 
For example, the custom ASDK program sets:
 


 
When the testSDK attribute is configured as an Authorization Policy headervar Response using ${session.attr.testSDK}, a dump of the headers in the browser after the ASDK program executes and authorization occurs shows value NOT FOUND for the custom attribute headervar.

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