On Thu, May 10, 2012 at 11:48 AM, Stefan Moises <[email protected]> wrote:
> Hi,
>
> hm, that's weird... if I set the response page I get redirected to the home
> page, but I am NOT logged out... even if ...logout() and ...invalidate()
> seem to get called... ?
> No error, no exception, no nothing...
>
> Any ideas?

Put a breakpoint in Session#detach() and see whether #invalidateNow()
is executed.

>
> Thanks,
> Stefan
>
> Am 10.05.2012 10:34, schrieb Martin Grigorov:
>
>> Hi,
>>
>> On Thu, May 10, 2012 at 11:31 AM, Stefan Moises<[email protected]>
>>  wrote:
>>>
>>> Hi there,
>>>
>>> I have integrated WiQuery 1.5.5 in Wicket 1.5.6 and I am using Wicket
>>> Authroles for a login functionality (combined with Apache Shiro) for more
>>> complex rights/rules.
>>> Everything works fine, but when I try to logout using my Signout page, I
>>> get
>>> an infinite redirect loop in the browser (too many redirects, stating a
>>> 302
>>> HTTP error) ... if I remove WiQuery, everything is working fine again and
>>> I
>>> can properly logout.
>>> Now I have no idea where to even start to identify the problem...
>>>
>>> My Signout page really doesn't do much:
>>> public class GlSignoutPage extends GlBasePage {
>>>    public GlSignoutPage(PageParameters parameters) {
>>>        super(parameters);
>>>        SecurityUtils.getSubject().logout();
>>>        getSession().invalidate();
>>
>> try with adding here:
>> setResponsePage(getApplication().getHomePage());
>>
>>>    }
>>> }
>>>
>>> The Signin page, however, is working... so it shouldn't be a problem that
>>> there is no valid session yet or something like that...
>>>
>>> Now my questions are:
>>> 1. does anybody use WiQuery with Authroles (or maybe even Shiro)
>>> 2. is there any known incompatibility between WiQuery 1.5.5 and Wicket
>>> 1.5.6? If so, when will WiQuery 1.5.6. be released?
>>> 3. does anybody have any clues what the problem may be?
>>>
>>> Thanks a lot,
>>> Stefan
>>>
>>> --
>>> Mit den besten Grüßen aus Nürnberg,
>>> Stefan Moises
>>>
>>> *******************************************
>>> Stefan Moises
>>> Senior Softwareentwickler
>>> Leiter Modulentwicklung
>>>
>>> shoptimax GmbH
>>> Guntherstraße 45 a
>>> 90461 Nürnberg
>>> Amtsgericht Nürnberg HRB 21703
>>> GF Friedrich Schreieck
>>>
>>> Tel.: 0911/25566-0
>>> Fax:  0911/25566-29
>>> [email protected]
>>> http://www.shoptimax.de
>>> *******************************************
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>
>>
>
> --
> Mit den besten Grüßen aus Nürnberg,
> Stefan Moises
>
> *******************************************
> Stefan Moises
> Senior Softwareentwickler
> Leiter Modulentwicklung
>
> shoptimax GmbH
> Guntherstraße 45 a
> 90461 Nürnberg
> Amtsgericht Nürnberg HRB 21703
> GF Friedrich Schreieck
>
> Tel.: 0911/25566-0
> Fax:  0911/25566-29
> [email protected]
> http://www.shoptimax.de
> *******************************************
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to