Skip to content

Spring Boot application implementing Form-Based Authentication using Spring Security. After successful login, users are automatically redirected to the Store Home Page.

Notifications You must be signed in to change notification settings

vatsalvarma/Spring-Security

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

🔐 Spring Security Form-Based Authentication

Spring Boot application implementing Form-Based Authentication using Spring Security. After successful login, users are automatically redirected to the Store Home Page. Screenshot 2026-01-22 225757


Screenshot 2026-01-22 230756
Screenshot 2026-01-22 225835

🧰 Tech Stack

  • Java 17
  • Spring Boot
  • Spring Security
  • Thymeleaf
  • Maven

✨ Features

  • Custom login page
  • Form-based authentication
  • In-memory user configuration
  • Role-based access
  • Redirect to store page after login
  • Logout support

🏗 Authentication Flow

Login Page → Spring Security → Authentication Success → Store Page
user:vhere
password:v123

📁 Project Structure

ds

├── src/main/java/com/example/store
│ ├── config
│ │ └── SecurityConfig.java
│ │
│ ├── controller
│ │ └── StoreController.java

│ └── StoreApplication.java

├── src/main/resources
│ ├── templates
│ │ ├── login.html
│ │ └── store.html
│ │
│ └── application.properties

├── pom.xml
└── README.md

🚀 Author

Vatsal Varma
Spring Boot | Spring Security

About

Spring Boot application implementing Form-Based Authentication using Spring Security. After successful login, users are automatically redirected to the Store Home Page.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages