クラス DelegatingLogoutSuccessHandler
java.lang.ObjectSE
org.springframework.security.web.authentication.logout.DelegatingLogoutSuccessHandler
- 実装済みのインターフェース一覧:
LogoutSuccessHandler
一致したリクエストマッチャーに基づくログアウトハンドラーへのデリゲート
- 導入:
- 4.1
コンストラクター概要
コンストラクターコンストラクター説明DelegatingLogoutSuccessHandler(LinkedHashMapSE<RequestMatcher, LogoutSuccessHandler> matcherToHandler) 方法の概要
修飾子と型メソッド説明voidonLogoutSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Authentication authentication) voidsetDefaultLogoutSuccessHandler(LogoutSuccessHandler defaultLogoutSuccessHandler) 他に利用可能なハンドラーがない場合、デフォルトのLogoutSuccessHandlerを設定します
コンストラクターの詳細
DelegatingLogoutSuccessHandler
public DelegatingLogoutSuccessHandler(LinkedHashMapSE<RequestMatcher, LogoutSuccessHandler> matcherToHandler)
方法の詳細
onLogoutSuccess
public void onLogoutSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Authentication authentication) throws IOExceptionSE, jakarta.servlet.ServletException - 次で指定:
- インターフェース
LogoutSuccessHandler内のonLogoutSuccess - 例外:
IOExceptionSEjakarta.servlet.ServletException
setDefaultLogoutSuccessHandler
他に利用可能なハンドラーがない場合、デフォルトのLogoutSuccessHandlerを設定します- パラメーター:
defaultLogoutSuccessHandler- 設定する defaultLogoutSuccessHandler