|
From: Oliver H. <Ol...@ou...> - 2005-03-03 23:03:07
|
> Currently there is no way to inject dependencies into filter.=20 > Instead, it must lookup for beans in application context. It=20 > would be great to initialize fields of filter with beans,=20 > corresponding to init-param values instead of with that=20 > values themselves. Check out FilterToBeanProxy which is part of the Acegi project: http://acegisecurity.sourceforge.net/multiproject/acegi-security/apidocs /net/sf/acegisecurity/util/FilterToBeanProxy.html Hopefully this will become part of Spring core (hint) soon. Ollie |