SmartClient Version: v9.1p_2014-06-25/PowerEdition Deployment (built 2014-06-25)
SmartClient Version: v9.1p_2014-08-24/PowerEdition Deployment (built 2014-08-24)
Hello, I've noticed that the every REST request served by the RESTHandler in my webapp creates a new session.
I thought that spring-security was the culprit (even if the setting for the RESTHandler URL is <security:intercept-url pattern="/isomorphic/RESTHandler*" filters="none"/>
) but setting create-session="never" on the <security:http> tag didn't change the situation.
So my question is: does the RESTHandler itself creates a session?
I think not, but actually I've extended the RESTHandler class to override the handleDSRequest method. In my implementation, I do:
Does those setXXX on rpcManager could force the session creation ?
SmartClient Version: v9.1p_2014-08-24/PowerEdition Deployment (built 2014-08-24)
Hello, I've noticed that the every REST request served by the RESTHandler in my webapp creates a new session.
I thought that spring-security was the culprit (even if the setting for the RESTHandler URL is <security:intercept-url pattern="/isomorphic/RESTHandler*" filters="none"/>
) but setting create-session="never" on the <security:http> tag didn't change the situation.
So my question is: does the RESTHandler itself creates a session?
I think not, but actually I've extended the RESTHandler class to override the handleDSRequest method. In my implementation, I do:
Code:
... rpcManager.setAuthenticated(Boolean.TRUE); rpcManager.setUserRoles("ROLE_USER"); rpcManager.setUserId(userId); return super.handleDSRequest(dsRequest, rpcManager, context);
Comment