Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sloweyyy/spring-boot-authentication-authorization-template
https://github.com/sloweyyy/spring-boot-authentication-authorization-template
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sloweyyy/spring-boot-authentication-authorization-template
- Owner: sloweyyy
- License: mit
- Created: 2024-09-30T11:47:14.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-30T11:47:17.000Z (3 months ago)
- Last Synced: 2024-12-07T21:49:57.491Z (16 days ago)
- Language: Java
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Authentication and authorization example using spring boot 3
### Technologies used in development
- Java
- Spring boot
- Lombok
- Spring data mongodb
- Spring security
- MongoDB
- JWT
- Maven
- OpenAPI 3.0
- Swagger----------
### Motivation
This project aims to share with the developer community a practical example of JWT authentication and authorization using Spring Security.----------
### Important Tips
- This is just an example, adapt it to your scenario and use case!
- The authorization configuration should be done from the highest level to the lowest. In other words, the configurations of lower levels authorization should come first, as exemplified in the `SecurityFilterChain` class.
- The token's key and expiration time must be configured in the `application.properties` file.