AW: WebSession Casting unable

2009-10-05 Thread Peter Arnulf Lustig
yeah you are right. Thank you for your help. - Ursprüngliche Mail Von: Pedro Santos An: users@wicket.apache.org Gesendet: Montag, den 5. Oktober 2009, 13:50:32 Uhr Betreff: Re: WebSession Casting unable your implementation needs to return an instance of SecurePageSession On Mon, Oct

AW: WebSession Casting unable

2009-10-05 Thread Peter Arnulf Lustig
ah sorry I got it: @Override public org.apache.wicket.Session newSession(Request request, Response response) { return new SecurePageSession(request); } Thank you. I had the auto-fixed solution from netbeans :) - Ursprüngliche Mail Von: Pieter Degraeuwe An: users

AW: WebSession Casting unable

2009-10-05 Thread Peter Arnulf Lustig
I have overwritten the newSession Method: public class Application extends WebApplication { @Override protected void init() { super.init(); getSecuritySettings().setAuthorizationStrategy(new AdministratorLoginSimplePageAuthStrategy(LoginPage.class)); } @Overrid