Hi,

I found the cause. This is happening because of the redirect I am making 
with the 'ConstraintSecurityHandler' together with the same name for the 
session cookie in both applications.
When using a separate session name for both applications everything is 
working fine.



Mit freundlichen Grüßen / Best regards,
René Hartwig
Team Leader Software Development

Mail:   rene.hart...@cryptshare.com
Phone:  +49 761 38913 0
Fax:    +49 761 38913 115
Web:    www.cryptshare.com
Befine Solutions AG - The Cryptshare company
Werthmannstr. 15
79098 Freiburg
Germany
______________________________________________________________________________________________________________

Are your attachments too large or confidential for common e-mail?
Get to know Cryptshare! 
______________________________________________________________________________________________________________

Interested in news and updates or you just like Cryptshare? Follow us!
Newsletter  |  Linkedin  l  XING  l  Twitter  l  Youtube l  Facebook  |  
RSS  l  Google+ 
______________________________________________________________________________________________________________
Register Court Freiburg HRB 6144, Board of Management: Mark Forrest, 
Dominik Lehr, Chairman of the Supervisor Board: Thilo Braun
----- Forwarded by René Hartwig/befine/DE on 29.03.2017 13:51 -----

From:   Martin Grigorov <mgrigo...@apache.org>
To:     "users@wicket.apache.org" <users@wicket.apache.org>
Date:   28.03.2017 13:57
Subject:        Re: Infinite Redirect Loop when using a Link



Hi,

Put a breakpoint in WebPageRenderer#respond() or/and #redirectTo() and see
what is the current url and what is the target url.
Do you use HttpsMapper? If YES then play with
org.apache.wicket.protocol.https.HttpsConfig#setPreferStateful(boolean) 
and
see whether it helps.

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

On Tue, Mar 28, 2017 at 1:50 PM, <rene.hart...@cryptshare.com> wrote:

> Hi,
>
> I am using Wicket 7.6.0 with two Web Applications:
>
> Admin Interface on HTTPS  Port 8080 using a SignInPanel
> User Interface on HTTP Port 80
>
> Now I have a very strange behavior - here is how I can reproduce it:
> Delete all browser cookies
> Visit the Admin Interface
> Visit the User Interface (Using the same browser tab)
>
> --> An infinite redirect loop happens. The source of this problem is a
> Link on the page returning 'false' for #getStatelessHint().
>
> This is everything I have found out so far. Unfortunately I have not 
been
> able to reproduce this behavior in a quickstart project. Do you have an
> idea what might be causing this?
> I found this issue related to a recent redirect-issue, but I do not 
think
> that it has something to do with my problem, especially because it 
should
> be fixed in this Wicket version already.
>
>
>
> Mit freundlichen Grüßen / Best regards,
> René Hartwig
> Team Leader Software Development
>
> Mail:   rene.hart...@cryptshare.com
> Phone:  +49 761 38913 0
> Fax:    +49 761 38913 115
> Web:    www.cryptshare.com
> Befine Solutions AG - The Cryptshare company
> Werthmannstr. 15
> 79098 Freiburg
> Germany
> ____________________________________________________________
> __________________________________________________
>
> Are your attachments too large or confidential for common e-mail?
> Get to know Cryptshare!
> ____________________________________________________________
> __________________________________________________
>
> Interested in news and updates or you just like Cryptshare? Follow us!
> Newsletter  |  Linkedin  l  XING  l  Twitter  l  Youtube l  Facebook  |
> RSS  l  Google+
> ____________________________________________________________
> __________________________________________________
> Register Court Freiburg HRB 6144, Board of Management: Mark Forrest,
> Dominik Lehr, Chairman of the Supervisor Board: Thilo Braun

Reply via email to