クラス Saml2RelyingPartyInitiatedLogoutSuccessHandler

java.lang.ObjectSE
org.springframework.security.saml2.provider.service.web.authentication.logout.Saml2RelyingPartyInitiatedLogoutSuccessHandler
実装されたすべてのインターフェース:
LogoutSuccessHandler

public final class Saml2RelyingPartyInitiatedLogoutSuccessHandler extends ObjectSE implements LogoutSuccessHandler
SAML 2.0 アサーティングパーティに SAML2.0 ログアウトリクエストを発行するための成功ハンドラー
導入:
5.6
  • コンストラクターの詳細

  • メソッドの詳細

    • onLogoutSuccess

      public void onLogoutSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Authentication authentication) throws IOExceptionSE
      アサート側から受信した SAML 2.0 ログアウトリクエストに基づいて、SAML2.0 ログアウトレスポンスを生成して送信します
      次で指定:
      インターフェース LogoutSuccessHandleronLogoutSuccess 
      パラメーター:
      request - HTTP リクエスト
      response - HTTP レスポンス
      authentication - 現在のプリンシパルの詳細
      例外:
      IOExceptionSE - レスポンスへの書き込みに失敗したとき
    • setLogoutRequestRepository

      public void setLogoutRequestRepository(Saml2LogoutRequestRepository logoutRequestRepository)
      この Saml2LogoutRequestRepository を使用して、SAML 2.0 ログアウトリクエストを保存します
      パラメーター:
      logoutRequestRepository - 使用する Saml2LogoutRequestRepository