I would like to keep some user information (login, roles...) between HTTP invokers calls.
Is it possible to use the HTTP Session to store this information? How is generated the session id and used by the HTTP executor?
I would like to keep some user information (login, roles...) between HTTP invokers calls.
Is it possible to use the HTTP Session to store this information? How is generated the session id and used by the HTTP executor?
Add this to your client remoting config:
<bean id="httpInvokerExecutor" class="org.springframework.remoting.httpinvoker.Co mmonsHttpInvokerRequestExecutor"/>
This advised the executor to use the Apache Commons HttpClient!
Sorry, this was only half the truth:
<bean id="someId" class="someClass">
<property name="serviceInterface" value="someInterface"/>
<property name="httpInvokerRequestExecutor" ref="httpInvokerExecutor"/>
</bean>
<bean id="httpInvokerExecutor" class="org.springframework.remoting.httpinvoker.Co mmonsHttpInvokerRequestExecutor"/>