- Hands-On Spring Security 5 for Reactive Applications
- Tomcy John
- 71字
- 2025-04-04 16:25:00
Servlet Filter
It's quite important to understand Servlet Filter so you can understand Spring Security internals. The following figure clearly explains a Servlet Filter in action. It comes before the request reaches the actual resource and also before the response if sent back to the consumer. It's a pluggable component that can be introduced at any time with configuration in the web configuration file (web.xml).
Figure 9: Working of Servlet Filter