Class ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec
java.lang.Object
org.springframework.security.config.web.server.ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec
- Enclosing class:
- ServerHttpSecurity.OAuth2ResourceServerSpec
Configures Opaque Token Resource Server support
- Since:
- 5.2
- 
Method SummaryModifier and TypeMethodDescriptionand()Deprecated, for removal: This API element is subject to removal in a future version.For removal in 7.0.authenticationConverter(ReactiveOpaqueTokenAuthenticationConverter authenticationConverter) protected voidconfigure(ServerHttpSecurity http) protected ReactiveAuthenticationManagerprotected ReactiveOpaqueTokenIntrospectorintrospectionClientCredentials(String clientId, String clientSecret) Configures the credentials for Introspection endpointintrospectionUri(String introspectionUri) Configures the URI of the Introspection endpointintrospector(ReactiveOpaqueTokenIntrospector introspector) 
- 
Method Details- 
introspectionUripublic ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec introspectionUri(String introspectionUri) Configures the URI of the Introspection endpoint- Parameters:
- introspectionUri- The URI of the Introspection endpoint
- Returns:
- the OpaqueTokenSpecfor additional configuration
 
- 
introspectionClientCredentialspublic ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec introspectionClientCredentials(String clientId, String clientSecret) Configures the credentials for Introspection endpoint- Parameters:
- clientId- The clientId part of the credentials
- clientSecret- The clientSecret part of the credentials
- Returns:
- the OpaqueTokenSpecfor additional configuration
 
- 
introspectorpublic ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec introspector(ReactiveOpaqueTokenIntrospector introspector) 
- 
authenticationConverterpublic ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec authenticationConverter(ReactiveOpaqueTokenAuthenticationConverter authenticationConverter) 
- 
andDeprecated, for removal: This API element is subject to removal in a future version.For removal in 7.0. UseServerHttpSecurity.OAuth2ResourceServerSpec.opaqueToken(Customizer)insteadAllows method chaining to continue configuring theServerHttpSecurity- Returns:
- the ServerHttpSecurityto continue configuring
 
- 
getAuthenticationManager
- 
getIntrospector
- 
getAuthenticationConverter
- 
configure
 
-