WLS12: CDI Injected Principal Is Not Updated After Calling HttpServletRequest#authenticate
Last updated on APRIL 15, 2018
Applies to:Oracle WebLogic Server - Version 220.127.116.11.0 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