On Tue, Sep 9, 2008 at 10:21 AM, Hugo Palma <[EMAIL PROTECTED]> wrote:
> I've used tapestry-acegi with great success for securing both pages and > methods: > > Check an example here > http://www.localhost.nu/java/tapestry5-acegi/usage.html > > Another possibility, although i never actually tried it, could be to define > your own Secured annotation and contribute a custom worker to handle it. > Check the source of the contributeComponentClassTransformWorker method on > the TapestryModule class to see how Tapestry does it. The chenillekit-access module from chenillekit project serve this purpose without external dependencies. It is built around PageRendereRequestFilter and ComponentEventRequestFilter which, i think, are the way to go from within tapestry5. The module is just at the very early stage, needs code polishing, testing and documentation but you can look at it and provide feedback if you wish, that's would be cool. Consider it more or less as a proof of concept. Ciao! -- Massimo http://meridio.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]