You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Andrea Del Bene <an...@gmail.com> on 2017/04/28 09:25:52 UTC

Wicketuff Shiro

Hi,

I did some changes to Wicketstuff in order to make it work with the last
Wicket 8 snapshot (here
https://github.com/wicketstuff/core/commit/ab433d8f71d951e42e8eb32e4509a616cc8824df).
I add to implement method canBeAsynchronous for class
org/wicketstuff/shiro/wicket/page/store/SessionPageStore.java
return true. I'm not sure about this choice so maybe someone of you can
give me an hint about it.

Thank you.

Re: Wicketuff Shiro

Posted by Andrea Del Bene <an...@gmail.com>.
ok thank you!

On Fri, Apr 28, 2017 at 11:56 AM, Martin Grigorov <mg...@apache.org>
wrote:

> Hi Andrea,
>
> Since it uses http session to store the data it cannot be asynchronous.
> If it is async then the storing will happen in a custom (non-http) thread
> and the session won't be available.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Fri, Apr 28, 2017 at 11:25 AM, Andrea Del Bene <an...@gmail.com>
> wrote:
>
> > Hi,
> >
> > I did some changes to Wicketstuff in order to make it work with the last
> > Wicket 8 snapshot (here
> > https://github.com/wicketstuff/core/commit/
> ab433d8f71d951e42e8eb32e4509a6
> > 16cc8824df).
> > I add to implement method canBeAsynchronous for class
> > org/wicketstuff/shiro/wicket/page/store/SessionPageStore.java
> > return true. I'm not sure about this choice so maybe someone of you can
> > give me an hint about it.
> >
> > Thank you.
> >
>

Re: Wicketuff Shiro

Posted by Martin Grigorov <mg...@apache.org>.
Hi Andrea,

Since it uses http session to store the data it cannot be asynchronous.
If it is async then the storing will happen in a custom (non-http) thread
and the session won't be available.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Fri, Apr 28, 2017 at 11:25 AM, Andrea Del Bene <an...@gmail.com>
wrote:

> Hi,
>
> I did some changes to Wicketstuff in order to make it work with the last
> Wicket 8 snapshot (here
> https://github.com/wicketstuff/core/commit/ab433d8f71d951e42e8eb32e4509a6
> 16cc8824df).
> I add to implement method canBeAsynchronous for class
> org/wicketstuff/shiro/wicket/page/store/SessionPageStore.java
> return true. I'm not sure about this choice so maybe someone of you can
> give me an hint about it.
>
> Thank you.
>