This content has been marked as final.
Show 1 reply
-
1. Re: Problem with the getUserPrincipal() method.
starksm64 May 24, 2004 10:38 AM (in response to tosenthu)Unless the jsp page is secured, getUserPrincipal() will return null. That is the only time the caller is authenticated and is associated with the request. If you want to track a user as part of a session you have to put the principal in the session.