My Oracle Support Banner

At First Timeout, ADFContext.getCurrent().getSecurityContext().getUserPrincipal().getName() Returns Previously Connected User (Doc ID 2322603.1)

Last updated on MARCH 03, 2021

Applies to:

Oracle JDeveloper - Version to [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.


To view full details, 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 a vibrant support community of peers and Oracle experts.