Skip to content

Commit 5d03a65

Browse files
fix : README.md
1 parent 85984e4 commit 5d03a65

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
# POC : Spring Security Oauth2 Password JPA Implementation
22
## Overview
33

4-
* In the Spring Security 6 ecosystem, compared to 5, there is a preference for Jwt or Keycloak over traditional OAuth2, and for the Authorization Code flow over the Password Grant method. In this context, the OAuth2 Password Grant method has been implemented with the following advantages:
5-
6-
* Set up access & refresh token API on both ``/oauth2/token`` and on the controller layer, both of which function same.
7-
* Authentication management based on a combination of username, client id, and an extra token (referred to in the source code as ``App-Token``, which receives a unique value from the calling devices).
4+
* In the Spring Security 6 ecosystem, compared to 5, there is a preference for JWT or Keycloak over traditional OAuth2 using a Password Grant method with Spring Security Authorization and Resource Server. I needed to incorporate the current OAuth2 Password Grant with the Spring Security new version and am showing the customization.
5+
* Set up access & refresh token APIs on both '/oauth2/token' and on our controller layer such as '/api/v1...', both of which function same.
6+
* Authentication management based on a combination of username, client id, and an extra token (referred to in the source code as App-Token, which receives a unique value from the calling devices).
87
* Separated UserDetails implementation for Admin and Customer roles.
98
* Integration with spring-security-oauth2-authorization-server.
10-
* Provision of MySQL DDL, which consists of ``oauth_access_token``, ``oauth_refresh_token`` and ``oauth_client_details``
9+
* Provision of MySQL DDL, which consists of oauth\_access\_token, oauth\_refresh\_tokenand oauth\_client\_details
1110
* Application of Spring Rest Docs.
12-
1311
## Dependencies
1412

1513
| Category | Dependencies |

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
88
<groupId>com.patternknife.securityhelper.oauth2</groupId>
99
<artifactId>spring-security-oauth2-password-jpa-implementation</artifactId>
1010
<version>1.0.0</version>
11-
<packaging>jar</packaging>
11+
<packaging>jar</packaging>d
1212

1313
<properties>
1414
<java.version>17</java.version>

0 commit comments

Comments
 (0)