Inject dependencies into your filters using DelegatingFilterProxy

In this post, we’re going to look at how to inject dependencies into your web application filters. To achieve this, we’re going to use Spring’s DelegatingFilterProxy. Now consider the following. Say we got an AuditHandler that takes care of the audit of incoming requests in our web…