クラス ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec
java.lang.ObjectSE
org.springframework.security.config.web.server.ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec
JWT リソースサーバーサポートを構成します
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明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
configure
getJwtDecoder
getJwtAuthenticationConverter
protected org.springframework.core.convert.converter.Converter<Jwt,? extends reactor.core.publisher.Mono<? extends AbstractAuthenticationToken>> getJwtAuthenticationConverter()