Gernot, I plan on making the different login mechanisms more "pluggable" soon. I've got an idea that will make it much easier (making Tapestry support servlet filters as ServletRequestServicerFilters so I don't have to write "adapter" subclasses). Once I get everything running smoothly, I'll release it as a 1.0 (hopefully won't be too long). You can use it now as-is, if all you need is HTTP basic authentication.
James -----Original Message----- From: Gernot Stocker [mailto:[EMAIL PROTECTED] Sent: Friday, June 09, 2006 4:11 AM To: Tapestry users Subject: Re: Tapestry/Acegi Integration... Hi, this sounds really great! Is there already a released jar file around which can be just plugged in ;-) ? I have a Tap/Spring webapplication in which ACEGI is already securing my service facade in the backend. A proper integration into the web ui would be the next thing to do. Any plans for releasing the code may be as a beta? Thanks, Gernot On Friday 09 June 2006 01:34, James Carman wrote: > All, > > Now, Acegi secured methods are supported. So, if you have a listener method > (taken from the tapernate example): > > @Secured("ROLE_EDIT") > public void editMessage( Message message ) > { > // Blah blah > } > > The tapernate-acegi module will perform a security check prior to executing > the editMessage() method to make sure that the currently authenticated user > has the role "ROLE_EDIT". As before, you can place a @Secured annotation on > a page class and it will also be secured using a PageValidateListener which > checks for the appropriate role. > > Enjoy! > > James > > -----Original Message----- > From: James Carman [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 08, 2006 10:26 AM > To: 'Tapestry users' > Subject: RE: Tapestry/Acegi Integration... > > Oh, to login to the example application, you use tapernate/tapernate. > > > -----Original Message----- > From: James Carman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 07, 2006 10:38 PM > To: 'Tapestry users' > Subject: Tapestry/Acegi Integration... > > All, > > I have taken a stab at Tapestry/Acegi integration. The Tapernate example > application now uses Acegi to secure the CreateMessage page (using a > @Secured("ROLE_USER") annotation). By no means is this the final version. > I just wanted to get it in front of some folks to see what they thought. > Enjoy! > > James > > > > --------------------------------------------------------------------- > 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] > > -- Gernot Stocker, Institute for Genomics and Bioinformatics(IGB) Petersgasse 14, 8010 Graz, Austria Tel.: ++43 316 873 5345 http://genome.tugraz.at --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]