My Oracle Support Banner

How to Set Retrievable Headers (Authorization Response Session Attributes) to the Downstream Application Using the OAM 11g SDK (Doc ID 1458024.1)

Last updated on NOVEMBER 04, 2019

Applies to:

Oracle Access Manager - Version 11.1.1.5.0 and later
Information in this document applies to any platform.
Oracle is not responsible for instructions/information from 3rd party sites that may be contained in this KM note

Goal

Setting session attributes in an Authorization response and trying to retrieve them in a custom client, using the OAM 11G SDK for Java, using the UserSession.getSessionAttributes method. The problem is this does not return the attributes set in the response. Conversely, if the setSessionAttribute is used and a cookie is set with that attribute in an auth response, the cookie value is NOT FOUND.

Are the sessions in the auth response and the session attributes available in the SDK not referring to the same thing?

If not, how can the auth response session values in the custom client be retrieved?

How do to get the session id from the session token?

How to set some attribute values in the OAM session from the application so that OAM could add these values as?

Oracle Access Manager 11g (OAM 11.1.1.5), how to set retrievable headers(Authorization Response Session Attributes) to the downstream application using the OAM 11g SDK ?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.