Form login with Spring Security: the filter chain, UserDetailsService and role-based access
How a request travels through DelegatingFilterProxy, FilterChainProxy and a dozen filters; the classes behind one login; writing your own UserDetailsService, a login page with CSRF, access rules, role-based redirects, logout and a 403 page, with a tested lab.