Skip to content

Commit 232adb7

Browse files
doc : README
1 parent 6722a70 commit 232adb7

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public class CommonDataSourceConfiguration {
198198

199199
- **Customize OpaqueTokenIntrospector as desired (!Set this to your Resource Servers)**
200200
- ``client.config.securityimpl.introspector.CustomResourceServerTokenIntrospector``
201-
201+
- ![img3.png](reference/docs/img3.png)
202202
## OAuth2 - ROPC
203203
* Refer to ``client/src/docs/asciidoc/api-app.adoc``
204204

client/src/main/resources/application.properties

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,11 @@ io.github.patternknife.securityhelper.oauth2.no-app-token-same-access-token=true
7575
spring.mvc.view.prefix=/templates/
7676
spring.mvc.view.suffix=.html
7777

78-
# api vs database
79-
# api : resource servers call the authorization server / database : the database is shared with resource servers
80-
# [WARNING] api : some test codes currently NOT working due to the following uri calling.
78+
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)
82+
# [WARNING] api: Some test codes are currently NOT working due to the following introspection URI calls
8183
patternknife.securityhelper.oauth2.introspection.type=database
8284
patternknife.securityhelper.oauth2.introspection.uri=http://localhost:8370/oauth2/introspect
8385
patternknife.securityhelper.oauth2.introspection.client-id=client_customer

reference/docs/img3.png

43.2 KB
Loading

0 commit comments

Comments
 (0)