クラス RedirectServerAuthenticationEntryPoint

java.lang.ObjectSE
org.springframework.security.web.server.authentication.RedirectServerAuthenticationEntryPoint
実装されたすべてのインターフェース:
ServerAuthenticationEntryPoint

public class RedirectServerAuthenticationEntryPoint extends ObjectSE implements ServerAuthenticationEntryPoint
指定された場所へのリダイレクトを実行します。
導入:
5.0
  • コンストラクターの詳細

    • RedirectServerAuthenticationEntryPoint

      public RedirectServerAuthenticationEntryPoint(StringSE location)
      インスタンスを作成します
      パラメーター:
      location - リダイレクトする場所 (つまり、"/logout-success")
  • メソッドの詳細

    • setRequestCache

      public void setRequestCache(ServerRequestCache requestCache)
      リダイレクトを送信する前にリクエストを保存するために使用するリクエストキャッシュ。
      パラメーター:
      requestCache - リダイレクト先のキャッシュ。
    • commence

      public reactor.core.publisher.Mono<VoidSE> commence(org.springframework.web.server.ServerWebExchange exchange, AuthenticationException ex)
      インターフェースからコピーされた説明: ServerAuthenticationEntryPoint
      認証フローを開始します
      次で指定:
      インターフェース ServerAuthenticationEntryPointcommence 
      戻り値:
      認証のリクエストがいつ完了するかを示す Mono<Void> 
    • setRedirectStrategy

      public void setRedirectStrategy(ServerRedirectStrategy redirectStrategy)
      使用する RedirectStrategy を設定します。
      パラメーター:
      redirectStrategy - 使用する戦略。デフォルトは DefaultRedirectStrategy です。