incubator-shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Skowronek" <>
Subject StackOverflowError when calling getUserPrincipal()
Date Wed, 22 Oct 2008 13:46:46 GMT
I have a custom security manager that extends DefaultWebSecurityManager.  I
have overridden the following createSubject().

In createSubject(), if I cast request to a HttpServletRequest and call
getUserPrincipal(), I get a java.lang.StackOverflowError.  According to the
spec, if the user has not been authenticated, the method returns null.

Any ideas?

This issue originated from the following thread.  Peter suggested I submit
the problem to this list.

The full stacktrace can be seen here.

Thank you,


View raw message