ADF Context In Portlet Returns Always "Anonymous" After Migration To PS4
(Doc ID 1379705.1)
Last updated on MARCH 08, 2017
Applies to:Oracle WebCenter Portal - Version: 188.8.131.52.0
Information in this document applies to any platform.
WebCenter ADF portlet created originally in PS2 environment and ported to PS4 doesn't work anymore.
The following code:
ADFContext adfContext = ADFContext.getCurrent();
Prinicipal principal = adfContext.getSecurityContext().getUserPrincipal();
was working fine in the ADF portlets for the WebCenter PS2.
After migration to PS4 the code returns always "anonymous" and not principal of currently logged in user.
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
|This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.|