Hi Peter, this probably not the best way, I don't know, but I would start with throwing an UnauthorizedInstantiationException in my page constructor.
regards, Eike On [Wed, 06.10.2010 13:53], Peter Munro wrote: > Hi all, > > I'm confused... I'd like to setup authorization for a page, where the > authorization decision is based on the parameters passed to the page. For > example, http://blahblah/MyPage/?date=2010-10-06 would authorize correctly > (show the page), but previous dates would not. > > Subclassing MyAuthorisationStrategy and overriding isPageAuthorized(final > Class<T> pageClass) doesn't work, since I don't get passed the page > parameters. > > What's the best way? > > Many thanks, > Peter -- email: e...@eknet.org https://www.eknet.org pgp: 481161A0 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org