October 2020
Beginner to intermediate
560 pages
14h 52m
English
This chapter covers
Working with the filter chain
Defining custom filters
Using Spring Security classes that implement the Filter interface
In Spring Security, HTTP filters delegate the different responsibilities that apply to an HTTP request. In chapters 3 through 5, where we discussed HTTP Basic authentication and authorization architecture, I often referred to filters. You learned about a component we named the authentication filter, which delegates the authentication responsibility to the authentication manager. You learned as well that a certain filter takes care of authorization configuration after successful authentication. In Spring Security, in general, HTTP filters manage each responsibility that must ...