My Oracle Support Banner

Unable to retrieve userid or role from a SecurityContext in ADF code. User may show up as anonymous (Doc ID 2129729.1)

Last updated on JANUARY 08, 2024

Applies to:

Oracle Business Process Management Suite - Version 11.1.1.7.0 and later
Oracle JDeveloper - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

When trying get the user ID or security role out of the security context using the ADF code below in a backing bean, the user id returned is null  and the role is anonymous.

 

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.