クラス DelegatingLogoutSuccessHandler
java.lang.ObjectSE
org.springframework.security.web.authentication.logout.DelegatingLogoutSuccessHandler
- 実装されたすべてのインターフェース:
LogoutSuccessHandler
一致したリクエストマッチャーに基づくログアウトハンドラーへのデリゲート
- 導入:
- 4.1
コンストラクターのサマリー
コンストラクターコンストラクター説明DelegatingLogoutSuccessHandler
(LinkedHashMapSE<RequestMatcher, LogoutSuccessHandler> matcherToHandler) メソッドのサマリー
修飾子と型メソッド説明void
onLogoutSuccess
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Authentication authentication) void
setDefaultLogoutSuccessHandler
(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
- 例外:
IOExceptionSE
jakarta.servlet.ServletException
setDefaultLogoutSuccessHandler
他に利用可能なハンドラーがない場合、デフォルトのLogoutSuccessHandler
を設定します- パラメーター:
defaultLogoutSuccessHandler
- 設定する defaultLogoutSuccessHandler