クラス ForwardLogoutSuccessHandler
java.lang.ObjectSE
org.springframework.security.web.authentication.logout.ForwardLogoutSuccessHandler
- 実装済みのインターフェース一覧:
LogoutSuccessHandler
指定ディスパッチャーを指定されたターゲット URL に「転送」する
LogoutSuccessHandler 実装。- 導入:
- 5.0
コンストラクター概要
コンストラクターコンストラクター説明ForwardLogoutSuccessHandler(StringSE targetUrl) 指定されたターゲット URL で新しいForwardLogoutSuccessHandlerを構築します。方法の概要
修飾子と型メソッド説明voidonLogoutSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, @Nullable Authentication authentication)
コンストラクターの詳細
ForwardLogoutSuccessHandler
指定されたターゲット 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 - 例外:
IOExceptionSEjakarta.servlet.ServletException