My Oracle Support Banner

WLS12: CDI Injected Principal Is Not Updated After Calling HttpServletRequest#authenticate (Doc ID 1927626.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle WebLogic Server - Version and later
Information in this document applies to any platform.


WLS12: CDI injected principal is not updated after calling HttpServletRequest#authenticate

After calling HttpServletRequest#authenticate, the cdi injected principals still return <anonymous> for the getName() method on the
principal instead of 'test_user'.

Expected behavior: the cdi injected principal represents the current caller identity 'test_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

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