クラス Saml2RedirectAuthenticationRequest
- java.lang.Object
-
- org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest
-
- org.springframework.security.saml2.provider.service.authentication.Saml2RedirectAuthenticationRequest
- 実装されたすべてのインターフェース:
java.io.Serializable
public final class Saml2RedirectAuthenticationRequest extends AbstractSaml2AuthenticationRequest
サービスプロバイダーから ID プロバイダー https://www.oasis-open.org/committees/download.php/35711/sstc-saml-core-errata-2.0-wd-06-diff.pdf へのリダイレクトバインディングを介してAuthNRequest
を送信するために必要な情報のデータホルダー (2031 行目)- 導入:
- 5.3
- 関連事項:
Saml2AuthenticationRequestFactory
, 直列化された形式
ネストされたクラスのサマリー
ネストされたクラス 修飾子と型 クラス 説明 static class
Saml2RedirectAuthenticationRequest.Builder
Saml2RedirectAuthenticationRequest
オブジェクトのビルダークラス。
メソッドのサマリー
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド 修飾子と型 メソッド 説明 Saml2MessageBinding
getBinding()
この AuthNRequest が送信およびエンコードされるバインディングを返します。java.lang.String
getSigAlg()
Saml2MessageBinding.REDIRECT
リクエストの SigAlg 値を返しますjava.lang.String
getSignature()
Saml2MessageBinding.REDIRECT
リクエストの署名値を返しますstatic Saml2RedirectAuthenticationRequest.Builder
withAuthenticationRequestContext(Saml2AuthenticationRequestContext context)
static Saml2RedirectAuthenticationRequest.Builder
withRelyingPartyRegistration(RelyingPartyRegistration registration)
RelyingPartyRegistration
オブジェクトからSaml2PostAuthenticationRequest.Builder
を構築します。クラス org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest から継承されたメソッド
getAuthenticationRequestUri, getRelayState, getSamlRequest
メソッドの詳細
getSigAlg
public java.lang.String getSigAlg()
Saml2MessageBinding.REDIRECT
リクエストの SigAlg 値を返します- 戻り値:
- SigAlg 値
getSignature
public java.lang.String getSignature()
Saml2MessageBinding.REDIRECT
リクエストの署名値を返します- 戻り値:
- 署名値
getBinding
public Saml2MessageBinding getBinding()
クラスからコピーされた説明:AbstractSaml2AuthenticationRequest
この AuthNRequest が送信およびエンコードされるバインディングを返します。Saml2MessageBinding.REDIRECT
を使用すると、DEFLATE エンコーディングが自動的に適用されます。- 次で指定:
- クラス
AbstractSaml2AuthenticationRequest
のgetBinding
- 戻り値:
Saml2MessageBinding.REDIRECT
withAuthenticationRequestContext
public static Saml2RedirectAuthenticationRequest.Builder withAuthenticationRequestContext(Saml2AuthenticationRequestContext context)
Saml2AuthenticationRequestContext
オブジェクトからSaml2RedirectAuthenticationRequest.Builder
を構築します。デフォルトでは、AbstractSaml2AuthenticationRequest.getAuthenticationRequestUri()
はSaml2AuthenticationRequestContext.getDestination()
値に設定されます。- パラメーター:
context
-Destination
、RelayState
、Issuer
オブジェクトを提供する入力。- 戻り値:
- 変更可能なビルダーオブジェクト
withRelyingPartyRegistration
public static Saml2RedirectAuthenticationRequest.Builder withRelyingPartyRegistration(RelyingPartyRegistration registration)
RelyingPartyRegistration
オブジェクトからSaml2PostAuthenticationRequest.Builder
を構築します。- パラメーター:
registration
- 証明書利用者登録- 戻り値:
- 変更可能なビルダーオブジェクト
- 導入:
- 5.7