Re: [Wicket-user] Best way to a handle SSL pages?
i think you just have te redirect to a full url (but then with https) On 10/26/05, Phil Kulak [EMAIL PROTECTED] wrote: At first I tried sending a redirect to the URL in the request, butwith https instead of http, but that breaks down if the user isredirected to the secure page since the url may include listenerinterfaces and what have you. I could still do this if there was some other way to get the url for a page as it currently exists, but I'mnot sure if I can do that, or if it's possible. Does anyone have anyideas on this? My ultimate goal is to just be able to flag pages thatneed to be secure as such, and have all the redirects taken care of in the super class.---This SF.Net email is sponsored by the JBoss Inc.Get Certified Today * Register for a JBoss Training CourseFree Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Best way to a handle SSL pages?
Yea, but my problem is finding that full url because when checkAccess() is called, the url in the request is not the redirect handler, but whatever interface was called last, and you can't redirect to that. On 10/27/05, Johan Compagner [EMAIL PROTECTED] wrote: i think you just have te redirect to a full url (but then with https) On 10/26/05, Phil Kulak [EMAIL PROTECTED] wrote: At first I tried sending a redirect to the URL in the request, but with https instead of http, but that breaks down if the user is redirected to the secure page since the url may include listener interfaces and what have you. I could still do this if there was some other way to get the url for a page as it currently exists, but I'm not sure if I can do that, or if it's possible. Does anyone have any ideas on this? My ultimate goal is to just be able to flag pages that need to be secure as such, and have all the redirects taken care of in the super class. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Best way to a handle SSL pages?
I'm trying to get something to work with: page.urlFor(IRedirectListener.class); but it just doesn't and I can't seem to figure out why not. On 10/27/05, Phil Kulak [EMAIL PROTECTED] wrote: Yea, but my problem is finding that full url because when checkAccess() is called, the url in the request is not the redirect handler, but whatever interface was called last, and you can't redirect to that. On 10/27/05, Johan Compagner [EMAIL PROTECTED] wrote: i think you just have te redirect to a full url (but then with https) On 10/26/05, Phil Kulak [EMAIL PROTECTED] wrote: At first I tried sending a redirect to the URL in the request, but with https instead of http, but that breaks down if the user is redirected to the secure page since the url may include listener interfaces and what have you. I could still do this if there was some other way to get the url for a page as it currently exists, but I'm not sure if I can do that, or if it's possible. Does anyone have any ideas on this? My ultimate goal is to just be able to flag pages that need to be secure as such, and have all the redirects taken care of in the super class. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Best way to a handle SSL pages?
Woo hoo! Got it by basically doing what PageMap.redirectToInterceptPage does. If I made a patch that added a setSecure(boolean) method to WebPage and handled all this stuff (redirects to https or http accordingly), would you guys review and consider putting it in the core? On 10/27/05, Phil Kulak [EMAIL PROTECTED] wrote: I'm trying to get something to work with: page.urlFor(IRedirectListener.class); but it just doesn't and I can't seem to figure out why not. On 10/27/05, Phil Kulak [EMAIL PROTECTED] wrote: Yea, but my problem is finding that full url because when checkAccess() is called, the url in the request is not the redirect handler, but whatever interface was called last, and you can't redirect to that. On 10/27/05, Johan Compagner [EMAIL PROTECTED] wrote: i think you just have te redirect to a full url (but then with https) On 10/26/05, Phil Kulak [EMAIL PROTECTED] wrote: At first I tried sending a redirect to the URL in the request, but with https instead of http, but that breaks down if the user is redirected to the secure page since the url may include listener interfaces and what have you. I could still do this if there was some other way to get the url for a page as it currently exists, but I'm not sure if I can do that, or if it's possible. Does anyone have any ideas on this? My ultimate goal is to just be able to flag pages that need to be secure as such, and have all the redirects taken care of in the super class. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Best way to a handle SSL pages?
We're comitted to 1.4, so that's fine. Eelco On 10/27/05, Phil Kulak [EMAIL PROTECTED] wrote: Oh of course, that's what I meant. What Java version do I have to write for? I believe that Pattern was introduced in 1.4. Is that too late a version? On 10/27/05, Eelco Hillenius [EMAIL PROTECTED] wrote: Sounds like a good idea. Would you mind doing it the official way, meaning that you put a request up in: http://sourceforge.net/tracker/?group_id=119783atid=684977 ? Easier to track and put in our changes' history. Thanks! Eelco On 10/27/05, Phil Kulak [EMAIL PROTECTED] wrote: Woo hoo! Got it by basically doing what PageMap.redirectToInterceptPage does. If I made a patch that added a setSecure(boolean) method to WebPage and handled all this stuff (redirects to https or http accordingly), would you guys review and consider putting it in the core? On 10/27/05, Phil Kulak [EMAIL PROTECTED] wrote: I'm trying to get something to work with: page.urlFor(IRedirectListener.class); but it just doesn't and I can't seem to figure out why not. On 10/27/05, Phil Kulak [EMAIL PROTECTED] wrote: Yea, but my problem is finding that full url because when checkAccess() is called, the url in the request is not the redirect handler, but whatever interface was called last, and you can't redirect to that. On 10/27/05, Johan Compagner [EMAIL PROTECTED] wrote: i think you just have te redirect to a full url (but then with https) On 10/26/05, Phil Kulak [EMAIL PROTECTED] wrote: At first I tried sending a redirect to the URL in the request, but with https instead of http, but that breaks down if the user is redirected to the secure page since the url may include listener interfaces and what have you. I could still do this if there was some other way to get the url for a page as it currently exists, but I'm not sure if I can do that, or if it's possible. Does anyone have any ideas on this? My ultimate goal is to just be able to flag pages that need to be secure as such, and have all the redirects taken care of in the super class. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Best way to a handle SSL pages?
At first I tried sending a redirect to the URL in the request, but with https instead of http, but that breaks down if the user is redirected to the secure page since the url may include listener interfaces and what have you. I could still do this if there was some other way to get the url for a page as it currently exists, but I'm not sure if I can do that, or if it's possible. Does anyone have any ideas on this? My ultimate goal is to just be able to flag pages that need to be secure as such, and have all the redirects taken care of in the super class. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user