クラス JwtReactiveAuthenticationManager
java.lang.ObjectSE
org.springframework.security.oauth2.server.resource.authentication.JwtReactiveAuthenticationManager
- 実装済みのインターフェース一覧:
ReactiveAuthenticationManager
public final class JwtReactiveAuthenticationManager
extends ObjectSE
implements ReactiveAuthenticationManager
Jwt トークンの
ReactiveAuthenticationManager。- 導入:
- 5.1
コンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明reactor.core.publisher.Mono<Authentication>authenticate(Authentication authentication) 提供されたAuthenticationを認証しようとしますvoidsetJwtAuthenticationConverter(org.springframework.core.convert.converter.Converter<Jwt, ? extends reactor.core.publisher.Mono<? extends AbstractAuthenticationToken>> jwtAuthenticationConverter)
コンストラクターの詳細
JwtReactiveAuthenticationManager
メソッドの詳細
authenticate
インターフェースからコピーされた説明:ReactiveAuthenticationManager提供されたAuthenticationを認証しようとします- 次で指定:
- インターフェース
ReactiveAuthenticationManagerのauthenticate - パラメーター:
authentication- テストするAuthentication- 戻り値:
- 認証が成功すると、
Authenticationが返されます。認証を判別できない場合、空の Mono が返されます。認証が失敗すると、Mono エラーが返されます。
setJwtAuthenticationConverter
public void setJwtAuthenticationConverter(org.springframework.core.convert.converter.Converter<Jwt, ? extends reactor.core.publisher.Mono<? extends AbstractAuthenticationToken>> jwtAuthenticationConverter) - パラメーター:
jwtAuthenticationConverter- 使用するConverter