Not sure if it is the preferred way of doing things (since this is Eelco's framework) 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.
Or you can ask Eelco nice and maybe he will remove the final :) Maurice On 6/2/07, mchack <[EMAIL PROTECTED]> wrote: > > I am using the AuthenticatedWebApplication package. I would like to do > component level authorization. The framework generates an exception for this > that I can't see how I can override. Basic behavior is to be redirected back > to Home Page. My reason for doing this at the component level is to make > sure that a developer does not include an authorized component in a page, > but I would like to direct the conversation back to the login page. > > Is this not supported or am I missing the way to capture the exception and > provide my own handling. onUnauthorizedInstantiation is final so i can't > override that. > > Thanks > -- > View this message in context: > http://www.nabble.com/AuthenticatedWebApplication---Component-Level-Authentication-tf3854757.html#a10921366 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > 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 > ------------------------------------------------------------------------- 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