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() {
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 to
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 your
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
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 method for
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
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
@lists.sourceforge.net
Sent: Thursday, July 06, 2006 9:48
AM
Subject: Re: [Wicket-user] SSL
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
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
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
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
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() {
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 implement
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) at
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'.
15 matches
Mail list logo