クラス ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec
java.lang.ObjectSE
org.springframework.security.config.web.server.ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec
Opaque トークン Resource Server サポートを構成します
- 導入:
- 5.2
メソッドのサマリー
修飾子と型メソッド説明and()
非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。7.0 の取り外し用。authenticationConverter
(ReactiveOpaqueTokenAuthenticationConverter authenticationConverter) protected void
configure
(ServerHttpSecurity http) protected ReactiveAuthenticationManager
protected ReactiveOpaqueTokenIntrospector
introspectionClientCredentials
(StringSE clientId, StringSE clientSecret) イントロスペクションエンドポイントの認証情報を設定しますintrospectionUri
(StringSE introspectionUri) イントロスペクションエンドポイントの URI を構成しますintrospector
(ReactiveOpaqueTokenIntrospector introspector)
メソッドの詳細
introspectionUri
public ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec introspectionUri(StringSE introspectionUri) イントロスペクションエンドポイントの URI を構成します- パラメーター:
introspectionUri
- イントロスペクションエンドポイントの URI- 戻り値:
- 追加構成のための
OpaqueTokenSpec
introspectionClientCredentials
public ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec introspectionClientCredentials(StringSE clientId, StringSE clientSecret) イントロスペクションエンドポイントの認証情報を設定します- パラメーター:
clientId
- 資格情報の clientId 部分clientSecret
- 資格情報の clientSecret 部分- 戻り値:
- 追加構成のための
OpaqueTokenSpec
introspector
public ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec introspector(ReactiveOpaqueTokenIntrospector introspector) authenticationConverter
public ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec authenticationConverter(ReactiveOpaqueTokenAuthenticationConverter authenticationConverter) and
@DeprecatedSE(since="6.1", forRemoval=true) public ServerHttpSecurity.OAuth2ResourceServerSpec and()非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。7.0 の取り外し用。代わりにServerHttpSecurity.OAuth2ResourceServerSpec.opaqueToken(Customizer)
を使用してくださいメソッドチェーンがServerHttpSecurity
の構成を続行できるようにします- 戻り値:
ServerHttpSecurity
の構成を続行するには
getAuthenticationManager
getIntrospector
getAuthenticationConverter
configure