クラス 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, @Nullable 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, @Nullable Authentication authentication) throws IOExceptionSE, jakarta.servlet.ServletException - 次で指定:
- インターフェース
LogoutSuccessHandlerのonLogoutSuccess - 例外:
IOExceptionSEjakarta.servlet.ServletException
setDefaultLogoutSuccessHandler
他に利用可能なハンドラーがない場合、デフォルトのLogoutSuccessHandlerを設定します- パラメーター:
defaultLogoutSuccessHandler- 設定する defaultLogoutSuccessHandler