At First Timeout, ADFContext.getCurrent().getSecurityContext().getUserPrincipal().getName() Returns Previously Connected User
Last updated on OCTOBER 30, 2017
Applies to:Oracle JDeveloper - Version 188.8.131.52.0 to 184.108.40.206.0 [Release Oracle11g]
Information in this document applies to any platform.
ADFContext.getCurrent().getSecurityContext().getUserPrincipal().getName() not returning the default
After the user session is timed out the getName function still returns the previous logged in user instead of the default user (anonymous). This only happens on the first session time out. Subsequent times the anonymous user is returned correctly and the control is correctly dispatched to the login page.
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