Actually wicket already does that for you. It does so by delegating to the IAuthorizationStrategy. The default one just allows everything.
Maurice On Dec 13, 2007 1:36 PM, Christopher Hlubek <[EMAIL PROTECTED]> wrote: > AFAIK you could use a custom WebRequestCycle that checks your security > policy on every request (see > http://wicket.sourceforge.net/apidocs/wicket/RequestCycle.html and > http://wicket.sourceforge.net/apidocs/wicket/protocol/http/WebRequestCycle.html). > > Best regards, > > Christopher Hlubek > > 2007/12/13, apsegian <[EMAIL PROTECTED]>: > > > > > I am requested to apply a security policy in a wicket project on every > > request (including ajax requests) posted to the server. The obvious solution > > to this, is to call a method (like applySecurity()) in every onClick(), > > onUpdate() etc event of all form components of the page. The problem is that > > this solution is very buggy, because every developer working on this > > project should be aware of this restriction. Is there any method of the > > framework that can be overwritten in order to achieve this more centralized? > > -- > > View this message in context: > > http://www.nabble.com/Where-to-apply-a-general-security-policy-tp14314461p14314461.html > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
