I have added an extension to the
initCookie/registrationContext/extensions coming from
an IBM Websphere Portal WSRP Consumer.
I am passing a common session token to all the WSRP
providers consumed by the portal.

My first entry point into WSRP4J was here
org.apache.wsrp4j.producer.driver.WSRPEngine.initCookie
from request.getRegistrationContext() i get the
extensions
in createSession (method which I now pass a custom
value) I store a session attribute

But in the end, the session attribute did not make it
to the PortletSession in the actual portlet class.  I
found I had to change these classes in Pluto (I am
working with an older version of pluto and wsrp4j,
possibly RC1 or 2 of Pluto) to "getSession" at
multiple points.  Once that is done, the session
attribute I added was passed along as desired.
org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke
portletRequest.getPortletSession();
((javax.servlet.http.HttpServletRequestWrapper)internalPortletRequest).getSession();
org.apache.pluto.core.PortletServlet.dispatch
request.getSession();

Any idea why I had to do this?  Am I just using an old
version of Pluto?  Something really strange is
happening in Pluto.



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to