Thank you for the reply but I cannot find this getSession method.
in the jersey filter what do I call?
requestcontext doesn't have a getsession method.
requestcontext.getrequest().getsession doesn't exist.
i am using this version
<artifactId>jersey-container-grizzly2-http</artifactId>
and not the servlet version.
thanks in advance
Best Regards,
Aris Giachnis
On Mon, Apr 14, 2014 at 9:45 PM, Oleksiy Stashok <oleksiy.stashok_at_oracle.com
> wrote:
> Hi Aris,
>
> Grizzly has similar session API as servlet (Request.getSession()), it's
> in-memory storage.
>
> Thanks.
>
> WBR,
> Alexey.
>
> On 14.04.14 09:51, Aris Alexis wrote:
>
> Hi,
>
> If anyone can help me, I am building a rest service that uses jersey.
> I run the http-server without servlets right now.
>
> I want to authenticate through a jersey filter with facebook (using a
> third party lib) and then store a session. In the jersey filter i will
> check if the user has a valid session id.
>
> How can I manage this through grizzly? How can I get a reference of the
> current session in the method that implements the jersey filter?
>
> What technology does grizzly use for storing sessions? is it in memory
> or written on disk? could I change it to use something like redis?
>
> sorry for all the questions , there is not much info about grizzly out
> there.
>
> Best Regards,
> Aris Giachnis
>
>
>