Spring Boot Full Course 2026

Complete Spring 7 & Spring Boot 4 course from beginner to Advance using first thought principle.

Curated by: Coder Army (41 videos)


Currently Playing: Spring Security Authentication Internals | Complete Login Flow | Spring Boot Full Course #37

Spring Boot Full Course #37 How does Spring Security authenticate a user from the database before the request reaches the controller? In this video, we break down the complete database authentication and login flow from first principles. You will understand how Spring Security filters receive credentials, how the AuthenticationManager selects an AuthenticationProvider, how DaoAuthenticationProvider loads a user from the database, and how the final authenticated object reaches the SecurityContext. Topics covered: ✅ DelegatingFilterProxy and FilterChainProxy ✅ SecurityFilterChain and HttpSecurity ✅ First matching SecurityFilterChain rule ✅ UsernamePasswordAuthenticationFilter ✅ BasicAuthenticationFilter ✅ UsernamePasswordAuthenticationToken ✅ Authentication and AuthenticationManager ✅ ProviderManager and AuthenticationProvider ✅ UserDetails and UserDetailsService ✅ CustomUserDetails implementation ✅ DaoAuthenticationProvider internals ✅ Password verification using PasswordEncoder ✅ SecurityContext and SecurityContextHolder ✅ Complete form-login and HTTP Basic flow ✅ User and Role database entities ✅ User registration with BCrypt ✅ Role assignment during registration ✅ Login success and failure flow ✅ Testing authentication using Postman By the end of this video, you will understand the complete internal journey: HTTP Request → Authentication Filter → AuthenticationManager → ProviderManager → DaoAuthenticationProvider → UserDetailsService → Database → PasswordEncoder → SecurityContext → Authorization → Controller This lecture is especially useful for anyone who can configure Spring Security but still does not clearly understand what happens internally during login. If you find the video helpful, like the video, share it with your friends, and subscribe to the channel for the complete Spring Boot series. JAVA Beginner to Advance Series : https://youtube.com/playlist?list=PLQEaRBV9gAFsR15tNo2QLF9d2qc-c018p&si=lNuF5lyt4nKz9Up7 Join our WhatsApp Group: https://www.whatsapp.com/channel/0029VbBF1XKF1YlMyYuPM23s Code and Notes: Github : https://github.com/adityatandon15/Spring-Framework-Full-Course We have paid courses on DSA, Web Development , Blockchain, System Design & GenAI. Join Courses: https://strikes.in/ Coder Army Website: https://coderarmy.in/#home Coder Army App: https://play.google.com/store/apps/details?id=com.rohit.negi Connect with Aditya Tandon Instagram : https://www.instagram.com/adityatandon2 LinkedIn : https://www.linkedin.com/in/adityatandon2 Twitter : https://x.com/adityatandon02 Timestamps:


Tracks in this Playlist