Re: AuthenticatedWebSession.authenticate() not being called

2014-09-17 Thread Lucio Crusca
I've moved one step forward: the authenticate() method now gets called if I use the SignInPage class included in wicket-auth-roles instead of my own SignInPage. However, as you can see in the code I posted yesterday, my SignInPage is very simple and, compared to the one bundled with wicket, it

Re: AuthenticatedWebSession.authenticate() not being called

2014-09-17 Thread Paul Bors
Irrespective of the UI, have your read through http://wicket.apache.org/learn/projects/authroles.html ? Most likely the wicket-auth-roles login page is using one of the documented annotations that makes all the difference for you. Try to place that annotation on your page (I haven't read your

Re: AuthenticatedWebSession.authenticate() not being called

2014-09-16 Thread Lucio Crusca
Puzzled. I try to create a quickstart, but the real problem is that I'm pretty sure the quickstart will work perfectly. Even my code has worked perfectly for the last 2 years... Here is a quickstart-like piece of code showing the problem (I obtained it by cutting away unneded pieces from my

Re: AuthenticatedWebSession.authenticate() not being called

2014-09-16 Thread Lucio Crusca
Puzzled. I try to create a quickstart, but the real problem is that I'm pretty sure the quickstart will work perfectly. Even my code has worked perfectly for the last 2 years... Here is a quickstart-like piece of code showing the problem (I obtained it by cutting away unneded pieces from my

Re: AuthenticatedWebSession.authenticate() not being called

2014-09-10 Thread Lucio Crusca
Hi all, in a webapp that worked until yesterday (and that has worked for the last 2 years), the AuthenticatedWebSession.authenticate() method is not being called anymore. I have MySession class that extends AuthenticatedWebSession. The MySession constructor gets called correctly. I use a

Re: AuthenticatedWebSession.authenticate() not being called

2014-09-10 Thread Lucio Crusca
While debugging the problem I first moved to Wicket 6.17 and then set a breakpoint in SignInPanel.java (Wicket sources) at line 310, which is the first line of the onSubmit() method of the SignInForm Wicket class. That breakpoint does not get hit: Wicket, in response to the HTTP request generated

AuthenticatedWebSession.authenticate() not being called

2014-09-09 Thread Lucio Crusca
Hi all, in a webapp that worked until yesterday (and that has worked for the last 2 years), the AuthenticatedWebSession.authenticate() method is not being called anymore. I have MySession class that extends AuthenticatedWebSession. The MySession constructor gets called correctly. I use a standard