クラス ForwardLogoutSuccessHandler

java.lang.ObjectSE
org.springframework.security.web.authentication.logout.ForwardLogoutSuccessHandler
実装済みのインターフェース一覧:
LogoutSuccessHandler

public class ForwardLogoutSuccessHandler extends ObjectSE implements LogoutSuccessHandler
指定ディスパッチャーを指定されたターゲット URL に「転送」する LogoutSuccessHandler 実装。
導入:
5.0
  • コンストラクターの詳細

    • ForwardLogoutSuccessHandler

      public ForwardLogoutSuccessHandler(StringSE targetUrl)
      指定されたターゲット URL で新しい ForwardLogoutSuccessHandler を構築します。
      パラメーター:
      targetUrl - ターゲット URL
  • 方法の詳細

    • onLogoutSuccess

      public void onLogoutSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, @Nullable Authentication authentication) throws IOExceptionSE, jakarta.servlet.ServletException
      次で指定:
      インターフェース LogoutSuccessHandler 内の onLogoutSuccess 
      例外:
      IOExceptionSE
      jakarta.servlet.ServletException