クラス ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec
- java.lang.Object
-
- org.springframework.security.config.web.server.ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec
public class ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec extends java.lang.ObjectJWT リソースサーバーサポートを構成します
コンストラクターの概要
コンストラクター コンストラクター 説明 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
public ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec publicKey(java.security.interfaces.RSAPublicKey publicKey)
提供されたRSAPublicKeyを活用するReactiveJwtDecoderを構成します- パラメーター:
publicKey- 使用する公開鍵。- 戻り値:
- 追加構成のための
JwtSpec
jwkSetUri
public ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec jwkSetUri(java.lang.String jwkSetUri)
JSON Web キー (JWK) URL を使用してReactiveJwtDecoderを構成します- パラメーター:
jwkSetUri- 使用する URL。- 戻り値:
- 追加構成のための
JwtSpec
and
public ServerHttpSecurity.OAuth2ResourceServerSpec and()
configure
protected void configure(ServerHttpSecurity http)
getJwtDecoder
protected ReactiveJwtDecoder getJwtDecoder()
getJwtAuthenticationConverter
protected org.springframework.core.convert.converter.Converter<Jwt,? extends reactor.core.publisher.Mono<? extends AbstractAuthenticationToken>> getJwtAuthenticationConverter()