クラス ReactiveJwtAuthenticationConverter

java.lang.ObjectSE
org.springframework.security.oauth2.server.resource.authentication.ReactiveJwtAuthenticationConverter
実装されたすべてのインターフェース:
org.springframework.core.convert.converter.Converter<Jwt,reactor.core.publisher.Mono<AbstractAuthenticationToken>>

public final class ReactiveJwtAuthenticationConverter extends ObjectSE implements org.springframework.core.convert.converter.Converter<Jwt,reactor.core.publisher.Mono<AbstractAuthenticationToken>>
JwtMono<AbstractAuthenticationToken> に変換するための JwtAuthenticationConverter のリアクティブバージョン。
導入:
5.2
  • コンストラクターの詳細

    • ReactiveJwtAuthenticationConverter

      public ReactiveJwtAuthenticationConverter()
  • メソッドの詳細

    • convert

      public reactor.core.publisher.Mono<AbstractAuthenticationToken> convert(Jwt jwt)
      次で指定:
      インターフェース org.springframework.core.convert.converter.Converter<Jwt,reactor.core.publisher.Mono<AbstractAuthenticationToken>>convert 
    • setJwtGrantedAuthoritiesConverter

      public void setJwtGrantedAuthoritiesConverter(org.springframework.core.convert.converter.Converter<Jwt,reactor.core.publisher.Flux<GrantedAuthority>> jwtGrantedAuthoritiesConverter)
      使用する Converter<Jwt, Flux<GrantedAuthority>> を設定します。デフォルトはリアクティブ JwtGrantedAuthoritiesConverter です。
      パラメーター:
      jwtGrantedAuthoritiesConverter - コンバーター
      関連事項:
    • setPrincipalClaimName

      public void setPrincipalClaimName(StringSE principalClaimName)
      プリンシパルクレーム名を設定します。デフォルトは JwtClaimNames.SUB です。
      パラメーター:
      principalClaimName - 主なクレーム名
      導入:
      6.1