[jboss-user] [JBoss Portal] - Re: Determine portal logged-in user from external servlet

bdaw do-not-reply at jboss.com
Mon Nov 27 19:32:13 EST 2006


The user identity in portal won't be propagated to the servlet. The easiest workaround for that is to leverage PortletSession.APPLICATION_SCOPE using which you can share objects with servlet HttpSession. Usually for use cases like file download you store a token in a portlet session, pass token id as url parameter and check if it's valid in servlet. I can't help you with AJAX as I'm not very knowledgeable in it.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989129#3989129

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989129



More information about the jboss-user mailing list