concept Spring Security in category dependency injection

appears as: Spring Security
Dependency Injection: Design Patterns Using Spring and Guice

This is an excerpt from Manning's book Dependency Injection: Design Patterns Using Spring and Guice.

We haven’t quite looked at how to configure filters with Spring’s injector. Guice-servlet handled this for us via its GuiceFilter. Spring does not have this support out of the box. But a sister project, Spring Security (formerly Acegi Security[4]) does. Spring Security’s FilterToBeanProxy does a similar job.

Let’s look at how this is done using Spring Security, an extension to Spring that provides many security features. First, Spring Security is meant primarily for web applications, so enabling it requires a HTTP filter to be present. This gives us a hook into Spring’s security stack. Draw up a web.xml like the following: