My Oracle Support Banner

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 SEPTEMBER 12, 2023

Applies to:

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


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

The OAM 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.




To view full details, 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 a vibrant support community of peers and Oracle experts.