Re: [Wicket-user] ssl, roles and authorization

2006-08-11 Thread wired
Solution found. Within the newRequestCycleProcessor() method of the MyAuthenticatedWebApplication class I caught the exception thrown by the IRequestTarget respond method. protected IRequestCycleProcessor newRequestCycleProcessor() { return new DefaultWebRequestCycleProcessor() {

[Wicket-user] ssl, roles and authorization

2006-08-10 Thread wired
Hi I'm trying to mix authentication using annotations and SSL, but I'm having problems. I am simply using the code found in the auth-roles-examples (1.2.1) and I have made some changes using the "Switch to SSL" example (http://www.wicket-wiki.org.uk/wiki/index.php/Switch_to_SSL_mode) If I try t

Re: [Wicket-user] SSL Handoff in Wicket - Solved

2006-08-03 Thread Dipu
Hi Igor,   Many thanks Igor, that solves our issue.     Regards Dipu - Original Message - From: Igor Vaynberg To: wicket-user@lists.sourceforge.net Sent: Wednesday, August 02, 2006 5:17 PM Subject: Re: [Wicket-user] SSL Handoff in Wicket you can write

Re: [Wicket-user] SSL Handoff in Wicket

2006-08-02 Thread Igor Vaynberg
t;[EMAIL PROTECTED]>To: < wicket-user@lists.sourceforge.net>Sent: Wednesday, August 02, 2006 4:36 PMSubject: Re: [Wicket-user] SSL Handoff in Wicket>I haven't read you whole message, but did you search through the > mailing lists as well? I think there was a thread on this just l

Re: [Wicket-user] SSL Handoff in Wicket

2006-08-02 Thread Dipu
Message - From: "Eelco Hillenius" <[EMAIL PROTECTED]> To: Sent: Wednesday, August 02, 2006 4:36 PM Subject: Re: [Wicket-user] SSL Handoff in Wicket >I haven't read you whole message, but did you search through the > mailing lists as well? I think there was a thre

Re: [Wicket-user] SSL Handoff in Wicket

2006-08-02 Thread Eelco Hillenius
I haven't read you whole message, but did you search through the mailing lists as well? I think there was a thread on this just last week. http://woogle.billen.dk/search/q/SSL Eelco On 8/2/06, Dipu <[EMAIL PROTECTED]> wrote: > > > Hi All, > > > We are trying setup a suitable switch to SSL metho

[Wicket-user] SSL Handoff in Wicket

2006-08-02 Thread Dipu
Hi All,We are trying setup a suitable switch to SSL method for our Wicket application. I have read the wiki page regarding SSL switching:http://www.wicket-wiki.org.uk/wiki/index.php/Switch_to_SSL_modebut this does not solve our problem. We have apache and mod_proxy in front of Tomcat. Our wic

Re: [Wicket-user] SSL

2006-08-01 Thread Dipu
Hi Johan , many thanks for the help.     Regards Dipu - Original Message - From: Johan Compagner To: wicket-user@lists.sourceforge.net Sent: Monday, July 31, 2006 8:35 PM Subject: Re: [Wicket-user] SSL something like this:cycle.setRequestTarget(new

Re: [Wicket-user] SSL

2006-07-31 Thread Johan Compagner
Hi Johan,   Can you please give me an example on how to do redirect using IRequestTarget   Thanks Dipu - Original Message - From: Johan Compagner To: wicket-user@lists.sourceforge.net Sent: Thursday, July 06, 2006 9:48 AM Subject: Re: [Wicket-user] SSL Redire

Re: [Wicket-user] SSL

2006-07-31 Thread Dipu
Hi Johan,   Can you please give me an example on how to do redirect using IRequestTarget   Thanks Dipu - Original Message - From: Johan Compagner To: wicket-user@lists.sourceforge.net Sent: Thursday, July 06, 2006 9:48 AM Subject: Re: [Wicket-user] SSL

Re: [Wicket-user] SSL

2006-07-11 Thread [EMAIL PROTECTED] Imam
The code had a small little fix:There is an extra condition in the if condition: else if( pageClass != null && httpServletRequest.isSecure () && !isSecurityRequired ) {Using the ONE_PASS method rendering strategy everything works fine now.  Did you have to do the same?Yes had to use the  One pass

Re: [Wicket-user] SSL

2006-07-11 Thread Joe Toth
Using the ONE_PASS method rendering strategy everything works fine now.  Did you have to do the same?ThanksOn 7/10/06, [EMAIL PROTECTED] Imam <[EMAIL PROTECTED]> wrote: Hi,I had a similar problemI decided not to use that RequiredSSL method.Instead i maintain an array of page classes that require h

Re: [Wicket-user] SSL

2006-07-10 Thread [EMAIL PROTECTED] Imam
Hi,I had a similar problemI decided not to use that RequiredSSL method.Instead i maintain an array of page classes that require https and used the following code. It worked fine for me. Hope it helps you. protected IResponseStrategy newResponseStrategy()    {        return new IResponseStrategy() {

Re: [Wicket-user] SSL

2006-07-10 Thread Johan Compagner
then you are doing the redirect wrong.How and when do you do the redirect??On 7/7/06, Joe Toth <[EMAIL PROTECTED] > wrote:Weird...I'm only getting the error in Jetty 6 (Beta17).  wicket.WicketRuntimeException: Internal Error: Could not render error page class wicket.markup.html.pages.InternalError

Re: [Wicket-user] SSL

2006-07-06 Thread Joe Toth
Weird...I'm only getting the error in Jetty 6 (Beta17).  wicket.WicketRuntimeException: Internal Error: Could not render error page class wicket.markup.html.pages.InternalErrorPage    at wicket.request.compound.DefaultExceptionResponseStrategy.respond (DefaultExceptionResponseStrategy.java:109)   

Re: [Wicket-user] SSL

2006-07-06 Thread Johan Compagner
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 donethrough request targets. johanOn 7/6/06, Joe Toth <[EMAIL PROTECTED]> wrote: How can I implemen

[Wicket-user] SSL

2006-07-05 Thread Joe Toth
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'. Canno