Just a note for Acegi/Tapestry newcomers, this is about integrating
Acegi (Spring Security) with T5, so that a page's security is defined
in the actual T5 Java page classes (would this work for components
too?)

The kind of integration mentioned in the first reply is not _required_
in order to use Acegi with your Tapestry app.  Acegi and Tapestry
happily coexist, with Acegi getting first dibs as your web filter (it
comes before the Tapestry filter in your Web.xml)

In this way, the Tapestry portion of your app barely knows about
Acegi, except for link object it creates on your login page.
However, this means that things like roles and page restrictions are
in an Acegi xml file, not in annotations.


On Jan 7, 2008 2:11 AM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> there is a module:
> quote: -----------------------------
> I was looking at various solutions to this and found the Tapestry 5
> acegi library, http://www.localhost.nu/java/tapestry5-acegi/ It has a
> really nice secured annotation to do a similar thing e.g.
>
> @Secured("ROLE_ADMIN")
> public class AdminPage
> {
> }
>
> end quote-----------------------------------------------
>
> search mailing list for some discussions, they might be helpful
>
> Davor Hrg
>
>
> On Jan 7, 2008 8:06 AM, Joshua Jackson <[EMAIL PROTECTED]> wrote:
> > Dear all,
> >
> > Has anyone integrated T5 with Acegi already? Can use the default
> > configuration from Acegi, or do we need to add additional
> > configurations?
> >
> > Thanks in advance
> >
> > --
> > I'm a coder not a drag-n-dropper
> >
> > Blog: http://joshuajava.wordpress.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]

Reply via email to