Summary
Keywords
Full Transcript
Spring Security : User Authentication for Java Spring Boot REST API with Database course covers storing user credentials in the database. Authenticate and authorize Java Spring Boot REST APIs using login details from the database. Key Points - Complete flow for User Registration Implementation of UserDetailsService and UserService DaoAuthenticationProvider Testing using Postman and MongoDB Compass loadUserByUsername() findByUserName() Project with Java, Spring Boot, MongoDB and Spring Security will help software engineers to develop the skills to build REST APIs using Java Spring Boot with database as MongoDB. #springboot #springsecurity #java #springboot3 #springsecurity6 #springsecurityauthorization #springbootproject #thinkconstructive #eshapuri #softwaredeveloper #softwareengineer #springsecuritytutorial #userauthentication #basicauth #backenddeveloper #webdevelopment #springsecurity6 #springsecurityauthorization #java #javaprogramming More sessions of Java Spring Boot with demonstration are available here. Links 👇 Spring Boot 3 Complete Project Playlist - https://www.youtube.com/playlist?list=PLcs1FElCmEu3TjZwe0icju7_oEGYGVbLd Building a Project using Java, Spring Boot and MongoDB | REST API CRUD Implementation - https://youtu.be/eP6CQvrrmGc Java Spring Boot Playlist - https://www.youtube.com/playlist?list=PLcs1FElCmEu121gqGwlQt47d0SqNkzSTK Microservices using Java Spring Boot , Spring Cloud - https://www.youtube.com/playlist?list=PLcs1FElCmEu25gt4hcgo6rkKhk2Ud57uN Java 8 Features - https://www.youtube.com/playlist?list=PLcs1FElCmEu1J9Uv7GSMpl5JdcZjT7yDa GitHub Link for the project 👉 https://github.com/thinkconstructive/spring-boot-3.4-mongodb-rest-api-project/tree/master Let's get connected 👇🏻 - YouTube: https://bit.ly/thinkconstructive - Official Website: https://thinkconstructive.com/ - Instagram: https://www.instagram.com/thinkconstructive - Twitter: https://twitter.com/TConstructive - LinkedIn: https://www.linkedin.com/in/eshapuri/ Chapters 📚 00:00 Precap 00:10 Introduction 00:44 Java Spring Boot REST API Spring Security Project Overview 04:45 Code for storing User login details in the database 27:18 User Registration : Register User and store user login credentials in the database - Postman and MongoDB Compass 33:48 Code for UserDetailsService implementation and explanation 39:14 Code for UserDetails implementation and explanation 49:01 SecurityConfig changes and DaoAuthenticationProvider implementation and explanation 52:30 Testing using Postman 55:43 Summary and Outro Queries ⁉️ spring security basic authentication Spring Security authentication and authorization example with database credentials Spring Boot 3 basic authentication Example Spring Security database authentication Spring Security basic authentication REST API Spring Security username/password authentication example Spring Security with database example How to set username and password for Spring Security in application properties Spring Boot Basic authentication username and password Spring Boot 3 basic authentication Example How does database authentication work in Spring Boot? How to secure db credentials in Spring Boot? How to do Basic Authentication in Spring Boot? How to connect Spring Boot with database? How to use basic authentication in REST API? How do I secure my database credentials? How do I set up database security? What is authentication in database security? How to provide authentication for REST API in Spring Boot? What is basic authentication for REST API? What is Basic Authentication in Spring Boot? How does authentication work in Spring Boot? Spring Security basic authentication for specific URL
