Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/litsynp/spring-security-auth-strategies

Playing with different authentication strategies available with Spring Security.
https://github.com/litsynp/spring-security-auth-strategies

authentication authorization gradle-7 java-17 jwt-login oauth-login session-login spring-boot spring-security

Last synced: about 10 hours ago
JSON representation

Playing with different authentication strategies available with Spring Security.

Awesome Lists containing this project

README

        

# Spring Security Authentication Strategies

This repository is created to test different strategies to implement authentication and
authorization with [Spring Security](https://spring.io/projects/spring-security).

This project will introduce different authentication methods
using [Gradle multi module](https://spring.io/guides/gs/multi-module/).

Some methods I plan to add are:

- [x] Session Login
- [x] JWT Login
- [x] OAuth 2.0 Login (Google, Facebook, Naver, Kakao)
- [ ] API Gateway

## Modules

- **springsec**: The root module.
- **springsec-session**: Implements session login.
- **springsec-jwt**: Implements [JWT](https://jwt.io/introduction) ([Bearer](https://oauth.net/2/bearer-tokens/)) login.
- **springsec-oauth**: Implements [OAuth 2.0](https://oauth.net/2/) login with different OAuth providers. Also supports JWT login for local strategy.