After Upgrade To JDev 11.1.1.3 viewObject.DBTransaction.session.userPrincipalName Always Returns Anonymous (Doc ID 1153094.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle JDeveloper - Version: 11.1.1.3.0 to 11.1.1.3.0
Oracle JDeveloper - Version: 11.1.1.3.0 to 11.1.1.3.0]
Information in this document applies to any platform.

Symptoms

Your ADF application uses View Objects with a bind variable defined with the Groovy expression:
viewObject.DBTransaction.session.userPrincipalName

In JDeveloper 11.1.1.3.0, this groovy expression always returns the value 'anonymous'.

Changes

You upgraded to JDeveloper 11.1.1.3.0.
Up to JDeveloper 11.1.1.2.0, it was correctly returning the user name of the authenticated logged in user

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