クラス 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>>
- 導入:
- 5.2
コンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明reactor.core.publisher.Mono<AbstractAuthenticationToken>
void
setJwtGrantedAuthoritiesConverter
(org.springframework.core.convert.converter.Converter<Jwt, reactor.core.publisher.Flux<GrantedAuthority>> jwtGrantedAuthoritiesConverter) 使用するConverter<Jwt, Flux<GrantedAuthority>>
を設定します。void
setPrincipalClaimName
(StringSE principalClaimName) プリンシパルクレーム名を設定します。クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.core.convert.converter.Converter から継承されたメソッド
andThen
コンストラクターの詳細
ReactiveJwtAuthenticationConverter
public ReactiveJwtAuthenticationConverter()
メソッドの詳細
convert
- 次で指定:
- インターフェース
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
プリンシパルクレーム名を設定します。デフォルトはJwtClaimNames.SUB
です。- パラメーター:
principalClaimName
- 主なクレーム名- 導入:
- 6.1