WebSession Casting unable

2009-10-05 Thread Peter Arnulf Lustig
Hi, why can't I cast a Websession to a SecurePageSession-Class which extends Websession?! java.lang.ClassCastException: org.apache.wicket.protocol.http.WebSession cannot be cast to org.omikron.test.SecurePageSession In the book I bought (Wicket in Praxis, a german book for wicket 1.4) the au

Re: WebSession Casting unable

2009-10-05 Thread Pieter Degraeuwe
Not each Websession is a SecurePageSession. (but each SecurePageSession IS a WebSession) So, it means that you probably are dealing with a normal WebSession. Is your Application creating the correct Session instance (override the newSession()) On Mon, Oct 5, 2009 at 1:19 PM, Peter Arnulf Lustig

AW: WebSession Casting unable

2009-10-05 Thread Peter Arnulf Lustig
: Pieter Degraeuwe An: users@wicket.apache.org Gesendet: Montag, den 5. Oktober 2009, 13:29:28 Uhr Betreff: Re: WebSession Casting unable Not each Websession is a SecurePageSession. (but each SecurePageSession IS a WebSession) So, it means that you probably are dealing with a normal WebSession. Is

AW: WebSession Casting unable

2009-10-05 Thread Peter Arnulf Lustig
: users@wicket.apache.org Gesendet: Montag, den 5. Oktober 2009, 13:29:28 Uhr Betreff: Re: WebSession Casting unable Not each Websession is a SecurePageSession. (but each SecurePageSession IS a WebSession) So, it means that you probably are dealing with a normal WebSession. Is your Application creating

Re: WebSession Casting unable

2009-10-05 Thread Pedro Santos
gt; An: users@wicket.apache.org > Gesendet: Montag, den 5. Oktober 2009, 13:29:28 Uhr > Betreff: Re: WebSession Casting unable > > Not each Websession is a SecurePageSession. (but each SecurePageSession IS > a > WebSession) > So, it means that you probably are dealing with a

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