I'd say go for it...saves me from having to copy it over to my code
since I'm not using acegi at the moment, but I love that
functionality.
There is one thing though, and I've mentioned it on the list before:
http://thread.gmane.org/gmane.comp.java.springframework.user/3797
If you extend GenericFilterBean in any way ( I particularly use the
further subclass OncePerRequestFilter), the properties you need to
pass to FilterToBeanProxy are then assumed to be properties on your
filter. You end up having to create dummy setters for it to work. I
know that's a small price to pay for the functionality you receive,
but it seems like there could be a cleaner way.
Patrick
On Mon, 27 Sep 2004 12:03:34 -0400, Dmitriy Kopylenko
<dko...@ru...> wrote:
> We also use it and find it very useful. +1 for adding it to the Spring core
>
> D.
>
> Colin Sampaleanu wrote:
>
> > For about 2-3 months I've been meaning to but kept forgetting to add
> > the Acegi-Security project's FilterToBeanProxy to Spring itself, since
> > it's very useful for anybody doing filter-based stuff with Spring.
> > Anybody mind if I add it in for 1.1.1, even at this late stage?
> >
> > http://www.jdocs.org/acegi/0.6/api/net/sf/acegisecurity/util/FilterToBeanProxy.html
> >
> >
> > Both Ben and I originally worked on it. It's obviously working and
> > well tested.
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> > Project Admins to receive an Apple iPod Mini FREE for your judgement on
> > who ports your project to Linux PPC the best. Sponsored by IBM.
> > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> > _______________________________________________
> > Springframework-developer mailing list
> > Spr...@li...
> > https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
|