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 188.8.131.52.0 and later
Oracle JDeveloper - Version 184.108.40.206.0 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.
ADFContext.getCurrent().getSecurityContext().getUserRoles(); // returns anonymous-role
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