WLS12: CDI Injected Principal Is Not Updated After Calling HttpServletRequest#authenticate

(Doc ID 1927626.1)

Last updated on APRIL 15, 2018

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'


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms