Hi,

On 6/3/07, Maurice Marrink <[EMAIL PROTECTED]> wrote:
> Not sure if it is the preferred way of doing things (since this is
> Eelco's framework)

That part is actually Jonathan's

> but you could override the init() method and set up
> a different authorizationstrategy and or instantiationlistener, all
> you have to do for that is skip the call to super and do something
> similar yourself.

Imho, that class is better viewed as an example.

> Or you can ask Eelco nice and maybe he will remove the final :)

I don't think that's needed though. How about overriding
onUnauthorizedPage? As long as a user isn't logged in, the strategy
will redirect to the page that is returned by getSignInPageClass.
After that, onUnauthorizedPage is called when a user tries to access a
page he/ she isn't authorized for.

Eelco

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to