ADF Context In Portlet Returns Always "Anonymous" After Migration To PS4
(Doc ID 1379705.1)
Last updated on JULY 07, 2020
Applies to:
Oracle WebCenter Portal - Version 11.1.1.5.0 to 11.1.1.5.0 [Release 11g]Information in this document applies to any platform.
Symptoms
The environment has been upgraded from WebCenter PS2 to PS4.
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.
Changes
The environment has been upgraded from WebCenter PS2 to PS4.
Cause
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
Symptoms |
Changes |
Cause |
Solution |