Understanding the Spring Security Filter Chain
Look under the hood of Spring Security 6 to understand how the servlet filter chain processes every request and where authentication fits in.
How Requests Get Secured
So how does every request actually get checked? The security filter chain — a series of servlet filters Spring slots in before your controllers.
What Is a Servlet Filter?
A servlet Filter intercepts HTTP requests and responses before they reach your code. Spring Security is built almost entirely from these filters.
All lessons in this course
- Introduction to Spring Security 6
- Project Setup and Dependencies
- In-Memory User Authentication
- Understanding the Spring Security Filter Chain