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
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
I have overwritten the newSession Method:
public class Application extends WebApplication {
@Override
protected void init() {
super.init();
getSecuritySettings().setAuthorizationStrategy(new
AdministratorLoginSimplePageAuthStrategy(LoginPage.class));
}
@Overrid