Skip to content

DenilssonMontoya/spring-security-custom-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring security with custom login

Demo project to show how to implement a custom login page for spring security.

Prerequisites

  • Java 17.

Run Locally

Execute following commands to build and run the project.

# Run project 
./mvnw spring-boot:run

Testing

Open a web browser and access the URL http://localhost:8080/home. Once this is completed you will be requested to log in.

Step 1 Login is requested. As there is no existing user we need to create one, to do so lets click on Sign Up link.

Test01.png

Step 2 Complete the information required to create a new user.

Test02.png

Step 3 Once our user is created we will be redirected to the login page.

Test03.png

Finally, the application will show us the home page.

Test04.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published