Access Out of the Box WebCenter Sites API an Session Information in REST Endpoint Controller

(Doc ID 2399990.1)

Last updated on MAY 29, 2018

Applies to:

Oracle WebCenter Sites - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Goal

When using a Controller as a REST endpoint, the ICS object, variables / methods (e.g. variables attribute and getVariables()/getSessionVariables() methods) are not available, as the sesssion information does not exist in this context.

Is there an alternative approach to have the session context in this Controller call?

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