クラス ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec
java.lang.ObjectSE
org.springframework.security.config.web.server.ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec
JWT リソースサーバーサポートを構成します
コンストラクターの概要
コンストラクター方法の概要
修飾子と型メソッド説明and()非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。7.0 の取り外し用。authenticationManager(ReactiveAuthenticationManager authenticationManager) 使用するReactiveAuthenticationManagerを構成しますprotected voidconfigure(ServerHttpSecurity http) protected org.springframework.core.convert.converter.Converter<Jwt,? extends reactor.core.publisher.Mono<? extends AbstractAuthenticationToken>> protected ReactiveJwtDecoderJSON Web キー (JWK) URL を使用してReactiveJwtDecoderを構成しますjwtAuthenticationConverter(org.springframework.core.convert.converter.Converter<Jwt, ? extends reactor.core.publisher.Mono<? extends AbstractAuthenticationToken>> jwtAuthenticationConverter) jwtDecoder(ReactiveJwtDecoder jwtDecoder) 使用するReactiveJwtDecoderを構成しますpublicKey(RSAPublicKeySE publicKey) 提供されたRSAPublicKeySE を活用するReactiveJwtDecoderを構成します
コンストラクターの詳細
JwtSpec
public JwtSpec()
メソッドの詳細
authenticationManager
public ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec authenticationManager(ReactiveAuthenticationManager authenticationManager) 使用するReactiveAuthenticationManagerを構成します- パラメーター:
authenticationManager- 使用する認証マネージャー- 戻り値:
- 追加構成のための
JwtSpec
jwtAuthenticationConverter
public ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec jwtAuthenticationConverter(org.springframework.core.convert.converter.Converter<Jwt, ? extends reactor.core.publisher.Mono<? extends AbstractAuthenticationToken>> jwtAuthenticationConverter) - パラメーター:
jwtAuthenticationConverter- 使用するコンバーター- 戻り値:
- 追加構成のための
JwtSpec - 導入:
- 5.1.1
jwtDecoder
public ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec jwtDecoder(ReactiveJwtDecoder jwtDecoder) 使用するReactiveJwtDecoderを構成します- パラメーター:
jwtDecoder- 使用するデコーダー- 戻り値:
- 追加構成のための
JwtSpec
publicKey
提供されたRSAPublicKeySE を活用するReactiveJwtDecoderを構成します- パラメーター:
publicKey- 使用する公開鍵。- 戻り値:
- 追加構成のための
JwtSpec
jwkSetUri
JSON Web キー (JWK) URL を使用してReactiveJwtDecoderを構成します- パラメーター:
jwkSetUri- 使用する URL。- 戻り値:
- 追加構成のための
JwtSpec
and
@DeprecatedSE(since="6.1", forRemoval=true) public ServerHttpSecurity.OAuth2ResourceServerSpec and()非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。7.0 の取り外し用。デフォルトをそのまま使用するには、ServerHttpSecurity.OAuth2ResourceServerSpec.jwt(Customizer)またはjwt(Customizer.withDefaults())を使用します。詳細については、ドキュメントを参照してください。configure
getJwtDecoder
getJwtAuthenticationConverter
protected org.springframework.core.convert.converter.Converter<Jwt,? extends reactor.core.publisher.Mono<? extends AbstractAuthenticationToken>> getJwtAuthenticationConverter()