Hi Robin,
I must admit that I learned Spring before Tapestry :)
The remark was not coined at your work specifically since a seamless
integration of Acegi/Spring Security into Tapestry is without doubt
something good, because a kind of security and user rights is needed in
almost every non trivial webapplication and reinventing the wheel just once
again by writing your own security is not really desirable. Integrating
Acegi in a generic way is not really easy I thhink but I do think also, that
people with security requirements in their webapplications should know what
they do when using a framework like Spring Security and thus should bother
with learning at least some of the internals. Especially with todays
automated attacks on websites I don't think it is advisable to hide too much
of the underlying concepts from developers. For example your Todo list still
has the non working method security and the ability to access action
handlers in @Secured classes open. Because of the conventions in method
naming it is not that hard to guess the complete url of some action handlers
and possibly wreak havoc. With Acegis standard method of url based security
that doesn't play a role, since all urls starting with a specific string can
be wildcarded and you can configure it as finegrained as you want. It is of
course a question of personal needs and preferences, but I like to stay in
control :)
Regards,
Otho

2008/5/7 Robin Helgelin <[EMAIL PROTECTED]>:

> On Wed, May 7, 2008 at 11:30 AM, Otho <[EMAIL PROTECTED]> wrote:
> > One thing which bothered me a couple of times already on this list. With
> the
> >  neat tapestry-spring integration, why don't you just use Spring to
> configure
> >  Spring services? The little xml used for configuring acegi is in my
> personal
> >  view more readable than the contributions in a service class and it got
> even
> >  less with 2.0. And you don't need any changes to Tapestry itself.
>
> One of the ideas of tapestry5-acegi is that it should be as
> transparent to spring as possible, using spring xml makes the user
> need to learn spring if he wants to make changes, currently this isn't
> the case.
>
> On the other hand, if there's a patch available, I don't see a problem
> to change it :)
>
> --
>  regards,
>  Robin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to