users@grizzly.java.net

Re: some questions about use

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Mon, 14 Apr 2014 12:45:30 -0700

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