My Oracle Support Banner

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

Last updated on DECEMBER 11, 2017

Applies to:

Oracle JDeveloper - Version 11.1.1.7.0 and later
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 Principa's

 

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
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.