false is there just for that reason, to show an error. if the user does something they are not supposed to and you dont want to deal with it, just return false and they get an error.

-Igor


On 1/28/06, Andrew Lombardi <[EMAIL PROTECTED]> wrote:
I've almost finished up with using IAuthorizationStrategy to
implement some page security in an application.  The only thing that
I have a question on, is why one would return false from this method,
as it seems to bubble up and just show an exception.  Talking with
Igor, he mentioned using RedirectToInterceptPageException .. which I
guess I could throw from within authorizeInstantiation .. as opposed
to returning false..

Any thoughts on this?  Should I be wrapping this somewhere or setting
some Setting that I'm not aware of?  I just want it to redirect to a
login page of course.

Thanks!





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to