cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: accessing httpservletrequest session in apache cxf rest service
Date Thu, 18 Jun 2015 10:47:06 GMT
On 18/06/15 05:00, las wrote:
> Is it ok to access httpservletrequest -> session object in rest service
> implementation? I understand rest api is supposed to be stateless and should
> not use cookies etc., please advise.
Many real world applications use sessions. Perhaps you can avoid it and 
say use an authenticated principal name to keep the user specific data 
representing the current session locally.

Cheers, Sergey


>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/accessing-httpservletrequest-session-in-apache-cxf-rest-service-tp5758370.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>


Mime
View raw message