クラス RedirectServerLogoutSuccessHandler

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

public class RedirectServerLogoutSuccessHandler extends ObjectSE implements ServerLogoutSuccessHandler
ログアウト成功時にリダイレクトを実行します。
導入:
5.0
  • フィールドの詳細

  • コンストラクターの詳細

    • RedirectServerLogoutSuccessHandler

      public RedirectServerLogoutSuccessHandler()
  • メソッドの詳細

    • onLogoutSuccess

      public reactor.core.publisher.Mono<VoidSE> onLogoutSuccess(WebFilterExchange exchange, Authentication authentication)
      インターフェースからコピーされた説明: ServerLogoutSuccessHandler
      ログアウトが成功した後に呼び出されます
      次で指定:
      インターフェース ServerLogoutSuccessHandleronLogoutSuccess 
      パラメーター:
      exchange - 交換
      authentication - Authentication
      戻り値:
      完了通知 (成功またはエラー)
    • setLogoutSuccessUrl

      public void setLogoutSuccessUrl(URISE logoutSuccessUrl)
      正常にログアウトした後にリダイレクトする URL。
      パラメーター:
      logoutSuccessUrl - リダイレクト先の URL。デフォルトは "/login?logout" です。