クラス 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
を認証しようとしますvoid
setJwtAuthenticationConverter
(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