request.getUserPrincipal() returns null when enabling C*Web sessions with WLS (Doc ID 1936472.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Coherence - Version 3.7.0 and later
Information in this document applies to any platform.

Symptoms

An application using Coherence*Web, deployed on WebLogic Server, is using the Java Authentication and Authorization Service (JAAS) to secure access.  After a user has authenticated, a call to request.getUserPrincipal() returns null, when it should return the java.security.Principal.

Cause

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