I tried to do what you said but unfortunately it does not work... I did it this way:
(1) opened http://localhost:8080/jetspeed/ in a web browser and logged in as user admin (via Login Portlet) (2) put http://localhost:8080/test/ to the address line in the same browser window (IE6.0 on win2k) to see getUserPrincipal the http://localhost:8080/test/ app contained only one jsp: <html><head><title>Test</title></head> <body> <h3>Test autorizacie</h3> <% out.println("User Principal: " + request.getUserPrincipal()); %> </body> </html> (3) response seen in web browser: Test autorizacie User Principal: null (4) then re-typed the address back to http://localhost:8080/jetspeed/ and seen the user admin is still logged in jetspeed (see login Portlet) I do not see clearly why should it work if my webapp (the above jsp) is not configured to use the same SSO as jetspeed uses. My question is how to configure both of them: the jetspeed-2's SSO and the web app's configuration (or tomcat container's realm config?). Best Regards, Andrej ----- Original Message ----- > From: "David Sean Taylor" > To: "Jetspeed Users List" > Sent: Thursday, June 23, 2005 3:00 AM > Subject: Re: Jetspeed-2 Newbie: How to share portal's SSO with other WEB applications running on the same Tomcat instance? > > Since we are using JAAS to authenticate in Jetspeed-2, your web > application running in the same instance could get the authenticated > user from the servlet request's getUserPrincipal. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]> Ing. Andrej Vanek wrote: > > Hello, > > > > I am runnning Jetspeed-2. My intention is to put a link to a web > > application into the user's portal page. If he clicks on it I expect > > to open a new browser window running the web application without > > explicitely to have to login again- it should use the Jetspeed-2's > > SSO login. I do want to run the web application in a separate > > web-browser window, not as part of the portal via any portal bridge > > (because of window size, speed, no changes to javascript and > > application etc). But I would like to use portal to integrate my > > running web applications. > > > > I suppose this could be acomplished by sharing Jetspeed-2's SSO with > > external web application which is to be opened from the portal. > > Unfortunately at http://portals.apache.org/jetspeed-2/sso.html does > > not tell me much about how to do it... > > > > Could anybody give me some information (or links, documentation, > > articles) how to use the Jetspeed-2's SSO and how to collaborate with > > other web applications running on the same Tomcat Instance? Did > > anybody already solve this issue? > > > > Best Regards, Andrej > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
