thanks, Woonsan, it works now
2011-03-24 Best Regards Robin Xie 发件人: Woonsan Ko 发送时间: 2011-03-18 00:42:45 收件人: Jetspeed Users List 抄送: 主题: Re: how to do SSO with SiteMinder? If you implemented a custom filter, you could wrap the servlet request to provide a user principal with overriding method. You can look into org.apache.jetspeed.login.filter.PortalFilter does this by wrapping the original servlet request by PortalRequestWrapper. --- On Thu, 3/17/11, robin <[email protected]> wrote: > From: robin <[email protected]> > Subject: Re: how to do SSO with SiteMinder? > To: "Jetspeed Users List" <[email protected]> > Date: Thursday, March 17, 2011, 8:18 AM > thanks for reply, after done > according to SSO guide, > http://portals.apache.org/jetspeed-2/deployguide/config-sso.html#Integrating_with_External_SSO, > jetspeed works with SiteMinder but user principal > lost. > > some code in header.vm does not works, such as > > #if ($request.getUserPrincipal()) > <span class="layout-statusarea"><b>welcome > $jetspeed.getUserAttribute("user.name.family", > ${request.userPrincipal.name}) | <a > href="#BaseHref()login/logout"> > logout</a></b></span> > #end > > 2011-03-17 > > > > Robin > > > From: Woonsan Ko > Date: 2011-03-17 14:34:18 > Subject: Re: how to do SSO with SiteMinder? > > There's a document about that: > http://portals.apache.org/jetspeed-2/deployguide/config-sso.html#Integrating_with_External_SSO > --- On Tue, 3/15/11, robin <[email protected]> > wrote: > > From: robin <[email protected]> > > Subject: how to do SSO with SiteMinder? > > To: "jetspeed-user" <[email protected]> > > Date: Tuesday, March 15, 2011, 9:55 AM > > Hi > > > > we use SiteMinder as SSO server, it set username > into http > > header. so, jetspeed will not login again, can > jetspeed2 > > integrate with siteminder? > > > > or how can i set user principal and other > required > > object into requestContext? > > > > 2011-03-15 > > > > > > > > Robin > > > > --------------------------------------------------------------------- > 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]
