Philip and Aaron,

Thanks for the input. I got it to work. For other people trying to make this work I suggest the guide Philip pointed out as well as this mail-archive:

http://www.mail-archive.com/[email protected]/msg04829.html

The problem I had with the guide was getting the Tomcat Manager working properly. I'm using Netbeans for development and it was unable to deploy (and therefor debug) my application after enabling according to the guide. I couldn't figure out how to get the Tomcat Manager application to properly use the Jetspeed realm. The mail-archive gives an easy workaround which is to move the UserDatabaseRealm to the Tomcat Manager's context file under conf/Catalina/localhost/manager.xml.

--
Michael Binette

Philip Mark Donaghy wrote:
Hi,

On 5/7/07, Aaron Evans <[EMAIL PROTECTED]> wrote:
You need to enable tomcat SSO.

There is a guide at
http://portals.apache.org/jetspeed-2/guides/guide-tomcat-sso-cross-context-j2-realm.html

Philip


On 5/7/07, Michael Binette <[EMAIL PROTECTED]> wrote:
> How come request.getRemoteUser() and request.getUserPrincipal() return
> null in a servlet that is part of my portlet application? I thought the > spec says that this should return the same thing as when in the portlet?
>
> The portlet session is available in my servlet but not these (I've made
> the changes to my Tomcat instance to share the session between the
> servlet and portlets).
>
> --
> Michael Binette
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to