My Oracle Support Banner

Groovy EL securityContext.userName Returning Anonymous Instead of Username in ADF 12.2 (Doc ID 2649432.1)

Last updated on OCTOBER 28, 2022

Applies to:

Oracle JDeveloper - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Using EL #{securityContext.userName} to get username in a query inside the VO works in 11g, but returns anonymous after migration in 12.2.x.

 

Changes

12.2.x moves Groovy expressions to BCS file.

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
References


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