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]

Reply via email to