Problem: Forward headers Proxy Portlet

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem: Forward headers Proxy Portlet

robinnagpal
I have configured forward headers in proxy portlet with

<init-param>
    <name>forward-headers</name>
    <value>Cookie JSESSIONID JSESSIONIDSSO COOKIE</value>
</init-param>

I have done the same in

 
    <property as="xs:string" name="oxf.xforms.forward-submission-headers"
              value="Orbeon-Username Orbeon-Roles JSESSIONID JSESSIONIDSSO Cookie COOKIE"/>


Basically I want map the same user session via Ajax requests done by proxy portlet xforms.

I can see in the chrome developer tool that the cookie/JSESSIONID passed to proxy-froms-portlet is different for what I get on the server(submission end point).  proxy-portlet doesn't retain the same JSESSIONID.  


Reply | Threaded
Open this post in threaded view
|

Re: Problem: Forward headers Proxy Portlet

Erik Bruchez
Administrator
Robin,

The proxy portlet is designed to maintain its own session between itself and Form Runner. This explains why it doesn't keep the incoming JSESSIONID.

I can imagine a configuration which would change this, but this would require changes to the proxy portlet as well.

(I understand that this could help you share the session between the proxy portlet and Form Runner, as they run in the same container.)

-Erik