Re: [Wicket-user] HTTPS switching
that would be the way yes.On 5/18/06, Vincent Jenks [EMAIL PROTECTED] wrote: Because it's a shopping cart and either way a form has to besubmitted...so I'd rather do it when the form is submitted and nothave the extra step.I got around it by redirecting externally like the wiki shows, only I used a url like this:https://localhost:8443/MyApp/products?wicket:bookmarkablePage=:com.myapp.ui.UserAccount Is that a bad idea or is there not a better way?The cart is stateful so it seems to work fine.On 5/17/06, Johan Compagner [EMAIL PROTECTED] wrote: so your form is first in none https but the submit must go to https? Why would you do that? Why not first move to https then submit the form? Looks safer to me. But if you want you have to control the urlFor of the Form component. Override this to append the https and server part. johan On 5/17/06, Vincent Jenks [EMAIL PROTECTED] wrote: OK, this discussion has been had before but IRC, it was determinedthat we could use ExternalLink to switch (which would work for me if it weren't a form.)However, what if I'm using a Button?Could an ExternalButton be rigged up that would somehow submit a form as well? Could I maybe redirect to an external link instead?I know this can be done w/ non-wicket pages but would this be a problem when redirecting to a wicket page? I'm a little unsure how to proceed w/ this. 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?cmdlnkkid0709bid3057dat1642 ___ 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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmdlnkkid0709bid3057dat1642___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] HTTPS switching
OK, this discussion has been had before but IRC, it was determined that we could use ExternalLink to switch (which would work for me if it weren't a form.) However, what if I'm using a Button? Could an ExternalButton be rigged up that would somehow submit a form as well? Could I maybe redirect to an external link instead? I know this can be done w/ non-wicket pages but would this be a problem when redirecting to a wicket page? I'm a little unsure how to proceed w/ this. 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=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] HTTPS switching
so your form is first in none https but the submit must go to https?Why would you do that? Why not first move to https then submit the form?Looks safer to me.But if you want you have to control the urlFor of the Form component. Override this to append the https and server part.johanOn 5/17/06, Vincent Jenks [EMAIL PROTECTED] wrote:OK, this discussion has been had before but IRC, it was determined that we could use ExternalLink to switch (which would work for me ifit weren't a form.)However, what if I'm using a Button?Could anExternalButton be rigged up that would somehow submit a form as well?Could I maybe redirect to an external link instead?I know this can be done w/ non-wicket pages but would this be a problem whenredirecting to a wicket page?I'm a little unsure how to proceed w/ this.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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmdlnkkid0709bid3057dat1642___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] HTTPS switching
Because it's a shopping cart and either way a form has to be submitted...so I'd rather do it when the form is submitted and not have the extra step. I got around it by redirecting externally like the wiki shows, only I used a url like this: https://localhost:8443/MyApp/products?wicket:bookmarkablePage=:com.myapp.ui.UserAccount Is that a bad idea or is there not a better way? The cart is stateful so it seems to work fine. On 5/17/06, Johan Compagner [EMAIL PROTECTED] wrote: so your form is first in none https but the submit must go to https? Why would you do that? Why not first move to https then submit the form? Looks safer to me. But if you want you have to control the urlFor of the Form component. Override this to append the https and server part. johan On 5/17/06, Vincent Jenks [EMAIL PROTECTED] wrote: OK, this discussion has been had before but IRC, it was determined that we could use ExternalLink to switch (which would work for me if it weren't a form.) However, what if I'm using a Button? Could an ExternalButton be rigged up that would somehow submit a form as well? Could I maybe redirect to an external link instead? I know this can be done w/ non-wicket pages but would this be a problem when redirecting to a wicket page? I'm a little unsure how to proceed w/ this. 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?cmdlnkkid0709bid3057dat1642 ___ 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=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] HTTPS switching
Hi, Is there a standard way to handle switching between http and https? Thanks, John. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] HTTPS switching
I'm actually dying to know this myself as I'm in the throes of building a shopping cart that will need SSL at some point in the process.Can this in fact be done? Can part of my application somehow reside behind https? I'm sure it's been asked before but I don't see any examples of this anywhere.Thanks!On 3/22/06, John Patterson [EMAIL PROTECTED] wrote:Hi,Is there a standard way to handle switching between http and https? Thanks,John.---This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] HTTPS switching
This was the subject of a long discussion on IRC. At the time the decision was to do nothing. I've been considering protecting certain pages using mounted URLs and servlet filters, but I haven't gotten past the consideration stage. Eelco and Martijn might be able to weigh in on the details of that discussion.
Re: [Wicket-user] HTTPS switching
Tipycally i would leave the application server (tomcat, jetty) alone and run in on port 8080 or whatever then have apache runnin on port 80 and 443. then you configure apache ascially like this: everything on port 80 goes to port 8080, except if it's /cart/* then deny (or redirect to https://...:443) everything to /cart/* on 443 redirect to 8080 This way your cart can be accesed from the end user through SSL only. Note that it's only SSL from the client to apache, while it's in clear between apache and tomcat but that's just a local connection so should not be an issue. The easiest way to have apache do this is to use mod_proxy(better) or mod_rewrite. If you need an example of this i probably have one somewhere :-), but it's easy to find online too. Nick Heudecker wrote: This was the subject of a long discussion on IRC. At the time the decision was to do nothing. I've been considering protecting certain pages using mounted URLs and servlet filters, but I haven't gotten past the consideration stage. Eelco and Martijn might be able to weigh in on the details of that discussion. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user