Thanks Aaron. I have a couple of more questions.
1. How to turn on tomcat SSO?
2. I copied the following from Jetspeed.xml to conf/server.xml. do I need to
remove the Real from Jetspeed.xml then?
<Realm className="org.apache.catalina.realm.JAASRealm"
appName="Jetspeed"
userClassNames="org.apache.jetspeed.security.impl.UserPrincipalImpl"
roleClassNames="org.apache.jetspeed.security.impl.RolePrincipalImpl"
useContextClassLoader="false"
debug="0"/>
3. Does this make userPrincipal available in all context request or session? Or
where should I get them?
Thanks
Yiguang
-----Original Message-----
From: Aaron Evans [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 19, 2006 9:24 AM
To: Jetspeed Users List
Subject: Re: User information access and cross context
If you are using tomcat, turn on tomcat SSO and move the
authentication Realm from jetspeed's context.xml
(conf/Catalina/localhost/jetspeed.xml) to conf/server.xml so it serves
all contexts.
-aaron
On 9/19/06, Hu, Yiguang <[EMAIL PROTECTED]> wrote:
> Thanks. So is there a easy way to get the user information from different
> context? Or is there a place (session is context sensitive too) to save the
> user information from /Jetspeed (like using filter) and can be accessed from
> different context?
> Yiguang
> -----Original Message-----
> From: Jacek Wiślicki [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 18, 2006 6:05 PM
> To: Jetspeed Users List
> Subject: Re: User information access and cross context
>
> Wiadomosc od Jacek Wiślicki z 2006-09-18 23:57 brzmiala:
>
> >> How to access this information from another context ?
> > JSR-168 isolates HTTPServletRequest and PortletRequest. Only
> > PortletRequest holds this information (by a specification,
> > HTTPServletRequest returns null from getUserPrincipal() in portal
> > environments). On the other hand, PortletRequest are limitted to a
> > portal context.
> Please, ignore this. I was thinking of something else... :/
>
> --
> pozdrawiam,
> Jacek Wislicki
>
> [EMAIL PROTECTED]
> http://www.nauka-biznes.org.pl/jetspeed/portal/
> tel.: +48 502 408 444
> gg: 2540358
> skype: jacek_wislicki
>
> ---------------------------------------------------------------------
> 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]