Hi Brad,

You can make use of Jetspeed specific API interface, 
org.apache.jetspeed.request.RequestContext which can be retrieved as follows in 
your portlet:

RequestContext rc = (RequestContext) 
renderRequest.getAttribute(RequestContext.REQUEST_PORTALENV);

You can refer the javadocs here: http://portals.apache.org/jetspeed-2/apidocs/

Regards,

Woonsan


--- On Mon, 8/10/09, Brad Gardner <bgardne...@gmail.com> wrote:

> From: Brad Gardner <bgardne...@gmail.com>
> Subject: Get Portal Session in portlet.
> To: "Jetspeed Users List" <jetspeed-user@portals.apache.org>
> Date: Monday, August 10, 2009, 3:32 PM
> Working on a portlet that needs to
> look at the session ID of the logged in
> user for the current request.  How do I get the
> session ID from the portal
> from within my portlet?  Assuming it is done through
> one of the Portal
> Services, but I haven't had much luck finding it through
> the APIs yet.
> 
> *Brad Gardner*
> Mailto: bgardne...@gmail.com
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org

Reply via email to