An example of creating robust and popular authentication or login using Spring Boot, Spring Security, Spring MVC, Spring Data, and MongoDB for Java web application with custom User Details Service. Spring Security is one of the most used Security frameworks for Java Web Application.
This tutorial divided into several steps:
1:43 Step #1: Generate a New Spring Boot Gradle Project
4:32 Step #2: Create Java User and Role Domains or Models or Entities
7:09 Step #3: Create Java User and Role Repository
8:43 Step #4: Create a Custom Java User Details Service
13:40 Step #5: Create Controller for All Spring MVC Views
15:47 Step #6: Add a Configuration for Spring MVC and Security
20:06 Step #7: Create All Required Spring MVC Views with Bootstrap
23:47 Step #8: Run and Test The Spring Boot Security and MongoDB Java Web Application
Full article:
https://www.djamware.com/post/5b2f000880aca77b083240b2/spring-boot-security-and-data-mongodb-authentication-example
Full source code:
https://github.com/didinj/springboot-security-mongodb-example.git
More on Java:
https://www.djamware.com/post-sub-category/583d6c37fcbe614473a4c4e8/java
If you find this video is useful and give you good information, please subscribe to this link /channel/UCtI81hYLh2Ae_45KHkyy0vw
#springboot #springsecurity #mongodb