java.lang.ObjectSE
org.springframework.security.saml2.provider.service.authentication.logout.Saml2LogoutResponse

public final class Saml2LogoutResponse extends ObjectSE
署名および直列化された SAML 2.0 ログアウトレスポンスを表すクラス
導入:
5.6
  • メソッドの詳細

    • getResponseLocation

      public StringSE getResponseLocation()
      アサート側の SingleLogoutService のレスポンス位置を取得します
      戻り値:
      SingleLogoutService レスポンス位置
    • getBinding

      public Saml2MessageBinding getBinding()
      アサーティングパーティの SingleLogoutService のバインディングを取得します
      戻り値:
      SingleLogoutService バインディング
    • getSamlResponse

      public StringSE getSamlResponse()
      署名および直列化された <saml2:LogoutResponse> ペイロードを取得します
      戻り値:
      署名および直列化された <saml2:LogoutResponse> ペイロード
    • getRelayState

      public StringSE getRelayState()
      このログアウトリクエストに関連付けられたリレー状態
      戻り値:
      リレー状態
    • getParameter

      public StringSE getParameter(StringSE name)
      getParameters().get(name)  の省略形である name パラメーターを取得します。ログアウトレスポンスに追加のクエリパラメーターを指定する場合に便利です
      パラメーター:
      name - パラメーターの名前
      戻り値:
      パラメーターの値
    • getParameters

      public MapSE<StringSE,StringSE> getParameters()
      すべてのパラメーターを取得するログアウトレスポンスに追加のクエリパラメーターを指定するときに便利です
      戻り値:
      ログアウトレスポンスクエリパラメーター
    • getParametersQuery

      public StringSE getParametersQuery()
      すべてのパラメーターのエンコードされたクエリ文字列を取得します。結果のクエリには、先頭の疑問符が含まれていません。
      戻り値:
      すべてのパラメーターのエンコードされた文字列
      導入:
      5.8
    • withRelyingPartyRegistration

      public static Saml2LogoutResponse.Builder withRelyingPartyRegistration(RelyingPartyRegistration registration)
      この RelyingPartyRegistration から Saml2LogoutResponse.Builder インスタンスを作成します。具体的には、これにより SingleLogoutService レスポンスの場所とバインディングが RelyingPartyRegistration からプルされます。
      パラメーター:
      registration - 使用する RelyingPartyRegistration
      戻り値:
      さらなる構成のための Saml2LogoutResponse.Builder