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: client/src/main/java/com/patternknife/securityhelper/oauth2/client/config/response/error/GlobalExceptionHandler.java
* Once you create 'GlobalExceptionHandler', you should insert the following two (authenticationException, authorizationException) as default. Otherwise, 'unhandledExceptionHandler' is prior to 'io.github.patternknife.securityhelper.oauth2.api.config.security.response.error.handler.SecurityKnifeExceptionHandler'.
29
28
* "OrderConstants.SECURITY_KNIFE_EXCEPTION_HANDLER_ORDER - 1" means this is prior to "SecurityKnifeExceptionHandler"
Copy file name to clipboardExpand all lines: client/src/main/java/com/patternknife/securityhelper/oauth2/client/config/securityimpl/introspector/CustomResourceServerTokenIntrospector.java
Copy file name to clipboardExpand all lines: client/src/main/resources/application.properties
+7-3
Original file line number
Diff line number
Diff line change
@@ -77,10 +77,14 @@ spring.mvc.view.suffix=.html
77
77
78
78
79
79
# Introspection type configuration:
80
-
# - api: The Resource Server sends introspection requests to the Authorization Server (better scalability)
81
-
# - database: The Resource Server and Authorization Server share the same database (faster performance)
80
+
# - api: The Resource Server sends introspection requests to the Authorization Server (high traffic, better scalability, instant authorization check)
81
+
# - database: The Resource Server and Authorization Server share the same database (low traffic, low scalability, instant authorization check)
82
+
# - decode: The Resource Server decodes the Access Token according to the JWT algorithm. (no traffic, better scalability, no instant authorization check)
82
83
# [WARNING] api: Some test codes are currently NOT working due to the following introspection URI calls
Copy file name to clipboardExpand all lines: lib/src/main/java/io/github/patternknife/securityhelper/oauth2/api/config/security/converter/auth/endpoint/PasswordAccessTokenRequestConverter.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ public Authentication convert(HttpServletRequest request) {
Copy file name to clipboardExpand all lines: lib/src/main/java/io/github/patternknife/securityhelper/oauth2/api/config/security/provider/auth/endpoint/PasswordAuthenticationProvider.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ else if (((String) knifeGrantAuthenticationToken.getAdditionalParameters().get("
0 commit comments