You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@
2
2
## Overview
3
3
4
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.
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 and have `the same request & response payloads for success and errors`.
6
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).
7
7
* Separated UserDetails implementation for Admin and Customer roles.
8
8
* Integration with spring-security-oauth2-authorization-server.
9
-
* Provide MySQL DDL, which consists of oauth\_access\_token, oauth\_refresh\_token and oauth\_client\_details, which is tables in Security 5. As I mean to migrate current security system to Security 6, I haven't changed them to the ``authorization`` table indicated in https://github.com/spring-projects/spring-authorization-server.
9
+
* Provide MySQL DDL, which consists of oauth\_access\_token, oauth\_refresh\_token and oauth\_client\_details, which is tables in Security 5. As I mean to migrate current security system to Security 6, I haven't changed them to the ``authorization`` table indicated in https://github.com/spring-projects/spring-authorization-server.
10
10
* Application of Spring Rest Docs.
11
11
## Dependencies
12
12
@@ -28,5 +28,5 @@
28
28
29
29
### Running this App with Docker
30
30
* Use the following module for Blue-Green deployment:
Copy file name to clipboardExpand all lines: src/main/java/com/patternknife/securityhelper/oauth2/config/response/error/exception/ErrorMessagesContainedExceptionForSecurityAuthentication.java
Copy file name to clipboardExpand all lines: src/main/java/com/patternknife/securityhelper/oauth2/config/response/error/exception/auth/AlreadySocialRegisteredException.java
Copy file name to clipboardExpand all lines: src/main/java/com/patternknife/securityhelper/oauth2/config/response/error/exception/auth/OtpValueUnauthorizedException.java
Copy file name to clipboardExpand all lines: src/main/java/com/patternknife/securityhelper/oauth2/config/response/error/exception/auth/SocialEmailNotProvidedException.java
Copy file name to clipboardExpand all lines: src/main/java/com/patternknife/securityhelper/oauth2/config/response/error/exception/auth/UnauthenticatedException.java
Copy file name to clipboardExpand all lines: src/main/java/com/patternknife/securityhelper/oauth2/config/response/error/exception/auth/UserDeletedException.java
Copy file name to clipboardExpand all lines: src/main/java/com/patternknife/securityhelper/oauth2/config/response/error/exception/data/customergift/CustomerGiftRequestStatusUpdateException.java
0 commit comments