Weblogic 188.8.131.52 Does Not Return Correct Value for "getCallerPrincipal().getName()" When the Caller and Bean Deployed on Same Weblogic Server
(Doc ID 2636873.1)
Last updated on FEBRUARY 15, 2021
Applies to:Oracle WebLogic Server - Version 184.108.40.206.0 to 220.127.116.11.0 [Release 12c]
Information in this document applies to any platform.
When application 1 performs an IIOP call to Application 2 deployed on the same Webogic server as application 1, the subject becomes null and lookup is performed as anonymous user.
this.context.getCallerPrincipal().getName() returns <anonymous>
When the two applications are deployed on two different weblogic servers, everything works fine.
If t3 is used instead of IIOP, everything works good even when applications deployed on the same server.
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