Redirect to a full url or use an ExternalLink (pointing to your own site but then with ssl)

Do that redirect with a IRequestTarget.I don't know how you do it now but doing a redirect should always be done
through request targets.

johan


On 7/6/06, Joe Toth <[EMAIL PROTECTED]> wrote:
How can I implement a way switch over to https?

Depending on how the user navigates I need to swich over to https from
a form submit.  Every time I try a different way to implement this
transparently I receive "Caused by: wicket.WicketRuntimeException:
Already redirecting to '/app/Checkout'. Cannot redirect more than
once"

At first I tried to annotate a class with @RequiredSSL and created a
new IResponseStrategy that would test if the request was secure, if
not, WebResponse.redirect to the https version of the requested url.

Second I tried to do the same in the constructor of my Base Class for
all my pages and throw an AbortException, but I had the same problem.

Any ideas?

Also, are there any plans to add a https feature in 2.0 core or extensions?

Thanks!

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to