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 and later
Oracle WebLogic Server - Version 10.3 and later
Oracle Platform Security for Java - Version and later
Information in this document applies to any platform.


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



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.