My Oracle Support Banner

Unable To Influence Value Of getUserPrincipal() and getCallerprincipal() from Custom Loginmodule (Doc ID 391299.1)

Last updated on FEBRUARY 13, 2024

Applies to:

Oracle Containers for J2EE - Version 10.1.2.0.1 and later
Information in this document applies to any platform.

Symptoms

Application uses a custom loginmodule with form based authentication.
It adds other principals to subject during commit( ) phase.

When getUserPrincipal from web or getCallerPrincipal from EJB is used only the j_username used in form authentication is returned, and not the added principal(s).

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.