Authentication and authorization not working

2008-09-02 Thread Adriano dos Santos Fernandes

Hi!

I'm starting with Wicket. Yesterday I created a test and put basic 
authentication and authorization to work. After some changes, it doesn't 
work anymore.


Basically, I have this:

WebSession class extending AuthenticatedWebSession
Application class overriding getHomePage(), getSignInPageClass() and 
getWebSessionClass().


When I try to enter on the home page, it is just going directly without 
go to the login page. My WebSession.authenticate method is not called, 
and @AuthorizeInstantiation on the home page isn't respected.


What could I'm doing wrong?

Thanks,


Adriano


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



Re: Authentication and authorization not working

2008-09-02 Thread Adriano dos Santos Fernandes
I figured the problem myself... I didn't called super.init() when I 
override Application.init.



Adriano


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