Unable to retrieve userid or role from a SecurityContext in ADF code

(Doc ID 2129729.1)

Last updated on SEPTEMBER 22, 2017

Applies to:

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


User has a BPM application with human task and ADF forms. 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.


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