インターフェース ServerAuthenticationConverter

すべての既知の実装クラス:
DelegatingServerAuthenticationConverterServerBearerTokenAuthenticationConverterServerFormLoginAuthenticationConverterServerHttpBasicAuthenticationConverterServerOAuth2AuthorizationCodeAuthenticationTokenConverterServerX509AuthenticationConverter
関数インターフェース:
これは関数インターフェースであるため、ラムダ式またはメソッド参照の割り当てターゲットとして使用できます。

@FunctionalInterfaceSE public interface ServerAuthenticationConverter
ServerWebExchange から提供された ReactiveAuthenticationManager での認証に使用される Authentication への変換に使用される戦略。結果が Mono.empty() の場合、認証を試行してはならないことを示します。
導入:
5.1
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    reactor.core.publisher.Mono<Authentication>
    convert(org.springframework.web.server.ServerWebExchange exchange)
    ServerWebExchange を Authentication に変換します
  • メソッドの詳細

    • convert

      reactor.core.publisher.Mono<Authentication> convert(org.springframework.web.server.ServerWebExchange exchange)
      ServerWebExchange を Authentication に変換します
      パラメーター:
      exchange - ServerWebExchange
      戻り値:
      Authentication を表す Mono