RestartResponseAtInterceptPageException problem in 1.5

2012-01-02 Thread Zac Bedell
Greetings all, I've run into some trouble using RestartResponseAtInterceptPageException since moving from Wicket 1.4.13 to 1.5.3. The flow I'm implementing is a login via an OAuth service, so the user is redirected by way of RedirectPage to the OAuth provider and eventually ends up back at my

Re: RestartResponseAtInterceptPageException problem in 1.5

2012-01-02 Thread Martin Grigorov
Hi, This behavior is by design. I cannot say why AccessDeniedException is being thrown without debugging it but I can suggest you to try: LoginLink {  onClick() { if (notLoggedIn) {    throw new RestartResponseAtInterceptPageException(new RedirectPage(getOAuthUrl())); }  } On Tue, Jan 3,