|
4 | 4 | [[oauth2resourceserver-opaque-minimaldependencies]]
|
5 | 5 | == Minimal Dependencies for Introspection
|
6 | 6 | As described in xref:servlet/oauth2/resource-server/jwt.adoc#oauth2resourceserver-jwt-minimaldependencies[Minimal Dependencies for JWT] most of Resource Server support is collected in `spring-security-oauth2-resource-server`.
|
7 |
| -However unless a custom <<oauth2resourceserver-opaque-introspector,`OpaqueTokenIntrospector`>> is provided, the Resource Server will fallback to NimbusOpaqueTokenIntrospector. |
| 7 | +However unless a custom <<oauth2resourceserver-opaque-introspector,`OpaqueTokenIntrospector`>> is provided, the Resource Server will fallback to SpringOpaqueTokenIntrospector. |
8 | 8 | Meaning that both `spring-security-oauth2-resource-server` and `oauth2-oidc-sdk` are necessary in order to have a working minimal Resource Server that supports opaque Bearer Tokens.
|
9 | 9 | Please refer to `spring-security-oauth2-resource-server` in order to determine the correct version for `oauth2-oidc-sdk`.
|
10 | 10 |
|
@@ -361,7 +361,7 @@ Xml::
|
361 | 361 | [source,xml,role="primary"]
|
362 | 362 | ----
|
363 | 363 | <bean id="opaqueTokenIntrospector"
|
364 |
| - class="org.springframework.security.oauth2.server.resource.introspection.NimbusOpaqueTokenIntrospector"> |
| 364 | + class="org.springframework.security.oauth2.server.resource.introspection.SpringOpaqueTokenIntrospector"> |
365 | 365 | <constructor-arg value="${spring.security.oauth2.resourceserver.opaquetoken.introspection_uri}"/>
|
366 | 366 | <constructor-arg value="${spring.security.oauth2.resourceserver.opaquetoken.client_id}"/>
|
367 | 367 | <constructor-arg value="${spring.security.oauth2.resourceserver.opaquetoken.client_secret}"/>
|
@@ -445,7 +445,7 @@ Xml::
|
445 | 445 | [source,xml,role="secondary"]
|
446 | 446 | ----
|
447 | 447 | <bean id="opaqueTokenIntrospector"
|
448 |
| - class="org.springframework.security.oauth2.server.resource.introspection.NimbusOpaqueTokenIntrospector"> |
| 448 | + class="org.springframework.security.oauth2.server.resource.introspection.SpringOpaqueTokenIntrospector"> |
449 | 449 | <constructor-arg value="https://idp.example.com/introspect"/>
|
450 | 450 | <constructor-arg value="client"/>
|
451 | 451 | <constructor-arg value="secret"/>
|
@@ -740,7 +740,7 @@ By default, Resource Server uses connection and socket timeouts of 30 seconds ea
|
740 | 740 | This may be too short in some scenarios.
|
741 | 741 | Further, it doesn't take into account more sophisticated patterns like back-off and discovery.
|
742 | 742 |
|
743 |
| -To adjust the way in which Resource Server connects to the authorization server, `NimbusOpaqueTokenIntrospector` accepts an instance of `RestOperations`: |
| 743 | +To adjust the way in which Resource Server connects to the authorization server, `SpringOpaqueTokenIntrospector` accepts an instance of `RestOperations`: |
744 | 744 |
|
745 | 745 | [tabs]
|
746 | 746 | ======
|
|
0 commit comments