My Oracle Support Banner

ADF #{securityContext.userName} returns wrong Principal username with WLS Custom Security provider(SSPI). (Doc ID 1637674.1)

Last updated on AUGUST 01, 2023

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Oracle Platform Security for Java - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

When implemented a WebLogic Custom Authenticator. My Subject contains several principals (WLSuser, WLSGroup) but #{securityContext.userName} returns randomly the WLSUser of WLSGroup name.

For example:

when displaying #{securityContext.userName} on jspz or jsf page which contains following 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


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