Skip to content

mojtaba-pourasghar/spring-security-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Security Demo

Spring Boot Java License

A simple demo application to showcase Spring Security features with Spring Boot. This project demonstrates basic authentication, role-based authorization, and a custom login page.

Table of Contents

Overview

This project is a minimal implementation of Spring Security integrated with Spring Boot. It serves as a starting point for developers who want to learn how to secure their web applications using Spring Security. The demo includes basic authentication and role-based access control.

Features

  • Basic Authentication: Secure endpoints with username and password.
  • Role-based Authorization: Restrict access to certain endpoints based on user roles.
  • Custom Login Page: A simple custom login form for user authentication.
  • Logout Functionality: Ability to log out users securely.

Technologies Used

  • Spring Boot: Version 3.2.x - Framework for building Java-based applications.
  • Spring Security: For securing the application with authentication and authorization.
  • Java: Version 17 - Programming language.
  • Maven: Dependency management and build tool.
  • Thymeleaf (optional): For rendering the custom login page.

Project Structure

About

A simple demo of Spring Boot Security

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages