111111import org .springframework .security .oauth2 .server .resource .authentication .JwtReactiveAuthenticationManager ;
112112import org .springframework .security .oauth2 .server .resource .authentication .OpaqueTokenReactiveAuthenticationManager ;
113113import org .springframework .security .oauth2 .server .resource .authentication .ReactiveJwtAuthenticationConverter ;
114- import org .springframework .security .oauth2 .server .resource .introspection .NimbusReactiveOpaqueTokenIntrospector ;
115114import org .springframework .security .oauth2 .server .resource .introspection .ReactiveOpaqueTokenAuthenticationConverter ;
116115import org .springframework .security .oauth2 .server .resource .introspection .ReactiveOpaqueTokenIntrospector ;
116+ import org .springframework .security .oauth2 .server .resource .introspection .SpringReactiveOpaqueTokenIntrospector ;
117117import org .springframework .security .oauth2 .server .resource .web .access .server .BearerTokenServerAccessDeniedHandler ;
118118import org .springframework .security .oauth2 .server .resource .web .server .BearerTokenServerAuthenticationEntryPoint ;
119119import org .springframework .security .oauth2 .server .resource .web .server .authentication .ServerBearerTokenAuthenticationConverter ;
@@ -5443,7 +5443,7 @@ private OpaqueTokenSpec() {
54435443 public OpaqueTokenSpec introspectionUri (String introspectionUri ) {
54445444 Assert .hasText (introspectionUri , "introspectionUri cannot be empty" );
54455445 this .introspectionUri = introspectionUri ;
5446- this .introspector = () -> new NimbusReactiveOpaqueTokenIntrospector (this .introspectionUri ,
5446+ this .introspector = () -> new SpringReactiveOpaqueTokenIntrospector (this .introspectionUri ,
54475447 this .clientId , this .clientSecret );
54485448 return this ;
54495449 }
@@ -5459,7 +5459,7 @@ public OpaqueTokenSpec introspectionClientCredentials(String clientId, String cl
54595459 Assert .notNull (clientSecret , "clientSecret cannot be null" );
54605460 this .clientId = clientId ;
54615461 this .clientSecret = clientSecret ;
5462- this .introspector = () -> new NimbusReactiveOpaqueTokenIntrospector (this .introspectionUri ,
5462+ this .introspector = () -> new SpringReactiveOpaqueTokenIntrospector (this .introspectionUri ,
54635463 this .clientId , this .clientSecret );
54645464 return this ;
54655465 }
0 commit comments