Class ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec
- java.lang.Object
-
- org.springframework.security.config.web.server.ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec
-
- Enclosing class:
- ServerHttpSecurity.OAuth2ResourceServerSpec
public final class ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec extends java.lang.Object
Configures Opaque Token Resource Server support- Since:
- 5.2
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerHttpSecurity.OAuth2ResourceServerSpec
and()
Allows method chaining to continue configuring theServerHttpSecurity
protected void
configure(ServerHttpSecurity http)
protected ReactiveAuthenticationManager
getAuthenticationManager()
protected ReactiveOpaqueTokenIntrospector
getIntrospector()
ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec
introspectionClientCredentials(java.lang.String clientId, java.lang.String clientSecret)
Configures the credentials for Introspection endpointServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec
introspectionUri(java.lang.String introspectionUri)
Configures the URI of the Introspection endpointServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec
introspector(ReactiveOpaqueTokenIntrospector introspector)
-
-
-
Method Detail
-
introspectionUri
public ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec introspectionUri(java.lang.String introspectionUri)
Configures the URI of the Introspection endpoint- Parameters:
introspectionUri
- The URI of the Introspection endpoint- Returns:
- the
OpaqueTokenSpec
for additional configuration
-
introspectionClientCredentials
public ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec introspectionClientCredentials(java.lang.String clientId, java.lang.String clientSecret)
Configures the credentials for Introspection endpoint- Parameters:
clientId
- The clientId part of the credentialsclientSecret
- The clientSecret part of the credentials- Returns:
- the
OpaqueTokenSpec
for additional configuration
-
introspector
public ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec introspector(ReactiveOpaqueTokenIntrospector introspector)
-
and
public ServerHttpSecurity.OAuth2ResourceServerSpec and()
Allows method chaining to continue configuring theServerHttpSecurity
- Returns:
- the
ServerHttpSecurity
to continue configuring
-
getAuthenticationManager
protected ReactiveAuthenticationManager getAuthenticationManager()
-
getIntrospector
protected ReactiveOpaqueTokenIntrospector getIntrospector()
-
configure
protected void configure(ServerHttpSecurity http)
-
-