03 Create User Login & Registration with Spring Security - Spring Boot

Опубликовано: 28 Октябрь 2024
на канале: Ankit Wasankar
126,564
1k

Subscribe:
   / @ankit.wasankar  

Spring boot video playlist:
   • Spring Boot - Beginner to Expert Course  

#java #springboot #LoginRegistration #authentication

Video 03: Create User Login & Registration with Spring Security - Spring Boot

This tutorial will demonstrate the process to create user authentication. User login and registration functionality using Spring Security in Spring boot application. User will be able to login and register to Spring boot application in MySQL database and hibernate mappings.

*****************************************************
Course Link (03 Create User Login & Registration with Spring Security):
https://tutorials.webencyclop.com/spr...

Course Playlist Link:
   • Spring Boot - Beginner to Expert Course  

*****************************************************
Spring Hibernate Course link:
https://tutorials.webencyclop.com/spr...

Spring Boot course URL:
https://tutorials.webencyclop.com/spr...

******************************************************

We will use – Spring Boot with Spring 5, Java 8, Spring Security and Maven. For complete instructions, you can go through the below video.

Below steps are involved in this tutorial:

1. Create Database tables and sample data for Login & Registration
2. Define models for Database tables.
3. Declare Spring Bean for BCryptPasswordEncoder. (BCryptPasswordEncoder will be used for password encoding)
4. Edit application.properties file and add two queries for AuthenticationManagerBuilder.
5. Override Spring Security Default Configurations using Java Config.
6. Define controllers which will show Login and Registration page to user.
7. Generate HTML pages for Login and Registration