Funny you just ran into the same challenge as me:)

I have my own signin method in my authenticatedWebSession, which handles this and calls signin which inturn call authenticate, which I implemented to my likes.. So thats one way for now. But I agree it could be nice in the long turn to open it up.

Alexander Landsnes Keül wrote:
Hi,

I'm trying to have a user signed on directly with an id rather than the 
username/pwd when a new user is created. This gives me some trouble seeing as 
the boolean signedIn is private.

I considered writing my own WebSession to handle this, but the problem here is 
that there is no interface for the AuthenticatedWebSession and the 
AuthenticatedWebApplication requires it's session to extend 
AuthenticatedWebSession. I guess I can write a new class extending 
WebApplication to handle this, is that the intent here?

Otherwise, is it possible to have an interface for the AuthenticatedWebSession 
or the signedIn made protected rather than private?

Alexander



--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to