By now, you should have a good understanding of how Spring Security works. In this section, we're going to dig deeper into how the components in Spring Security work when it authenticates a request. We will mainly focus on the following two filters:
- SecurityContextPersistenceFilter
- UsernamePasswordAuthenticationFilter