My Oracle Support Banner

WebLogic 12.2.1.3 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 JUNE 07, 2023

Applies to:

Oracle WebLogic Server - Version 12.2.1.3.0 to 12.2.1.4.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

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.

Changes

 

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
References

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