UserDetailsManager & JdbcUserDetailsManager | Database Authentication with MySQL + Docker | Video#11
Автор: Rishabh Sharma
Загружено: 2026-03-09
Просмотров: 2
Описание:
🚀 In this video, we take a deep dive into UserDetailsManager and JdbcUserDetailsManager in Spring Security and learn how to implement database-based authentication using MySQL instead of in-memory users.
We will start by setting up a MySQL database using Docker, then create the required users and authorities tables used by Spring Security. After that, we will insert sample users into the database and configure Spring Boot with JdbcUserDetailsManager to authenticate users directly from the database.
This approach is commonly used in real-world production applications, where user credentials and roles are stored securely in a database.
If you are learning Spring Security, backend authentication, or preparing for Java backend interviews, this video will help you clearly understand how database authentication works in Spring Boot.
📚 What you will learn in this video
✔ What is UserDetailsManager in Spring Security
✔ What is JdbcUserDetailsManager
✔ How Spring Security stores users in database
✔ Creating users and authorities tables
✔ Running MySQL using Docker
✔ Managing users directly from database
✔ Connecting Spring Boot with MySQL
🛠 Tech Stack
• Spring Boot
• Spring Security
• MySQL
• Docker
• DBeaver
• IntelliJ IDEA
💻 Source Code
GitHub Repository: https://github.com/rishabhsharma8/spr...
🔎 Keywords
Spring Security tutorial
Spring Boot Security
JdbcUserDetailsManager tutorial
Spring Security MySQL authentication
Spring Security database login
Spring Boot authentication with database
Java backend security tutorial
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: