Principal in a servlet
Jetspeed Binette <[email protected]> Wed, 2 Jan 2013 10:17:15 -0500
| Newsgroups | gmane.comp.jakarta.jetspeed.user |
|---|---|
| Message-ID | <CACc+ZO=jn0WOu8a21EseKN9qb6H1wfEcfFeV0ykYhM23iAw=0A@mail.gmail.com> |
In Jetspeed 2.1.3 I have a servlet that uses request.getUserPrincipal() to determine if their is someone logged into Jetspeed or not. It works perfectly. I am in the process of upgrading to Jetspeed 2.2.2 and this is no longer working. The request.getUserPrincipal() always returns null now. Is there some configuration setting I need to change to get the principal to populate in the standard servlet request? The servlet is running in the same application as my portlets and I can see my other session attributes. Is there some other way to determine if the user is logged in from a servlet? -- Michael Binette