クラス Saml2AuthenticationRequestContext
- java.lang.Object
-
- org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequestContext
public class Saml2AuthenticationRequestContext extends java.lang.Object
サービスプロバイダーから ID プロバイダー SAML2 のアサーションとプロトコル (2031 行目) に送信されるAuthNRequest
を作成するために必要な情報のデータホルダー
ネストされたクラスのサマリー
ネストされたクラス 修飾子と型 クラス 説明 static class
Saml2AuthenticationRequestContext.Builder
コンストラクターのサマリー
コンストラクター 修飾子 コンストラクター 説明 protected
Saml2AuthenticationRequestContext(RelyingPartyRegistration relyingPartyRegistration, java.lang.String issuer, java.lang.String assertionConsumerServiceUrl, java.lang.String relayState)
メソッドのサマリー
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド 修飾子と型 メソッド 説明 static Saml2AuthenticationRequestContext.Builder
builder()
java.lang.String
getAssertionConsumerServiceUrl()
この SP がアサーションの受信を希望する目的のAssertionConsumerServiceUrl
を返します。java.lang.String
getDestination()
この認証リクエストに対して、Destination
(WEB シングルサインオン URI)を返します。java.lang.String
getIssuer()
AuthNRequest
オブジェクトで使用されるIssuer
値を返します。java.lang.String
getRelayState()
パラメーターに存在する場合、RelayState 値を返しますRelyingPartyRegistration
getRelyingPartyRegistration()
AuthNRequest の対象となるRelyingPartyRegistration
構成を返します。
コンストラクターの詳細
Saml2AuthenticationRequestContext
protected Saml2AuthenticationRequestContext(RelyingPartyRegistration relyingPartyRegistration, java.lang.String issuer, java.lang.String assertionConsumerServiceUrl, java.lang.String relayState)
メソッドの詳細
getRelyingPartyRegistration
public RelyingPartyRegistration getRelyingPartyRegistration()
AuthNRequest の対象となるRelyingPartyRegistration
構成を返します。- 戻り値:
RelyingPartyRegistration
構成
getIssuer
public java.lang.String getIssuer()
AuthNRequest
オブジェクトで使用されるIssuer
値を返します。このプロパティは、AuthNRequest.Issuer
XML 要素にデータを入力するために使用する必要があります。この値は通常 URI ですが、任意の文字列にすることができます。- 戻り値:
- 発行者の値
getAssertionConsumerServiceUrl
public java.lang.String getAssertionConsumerServiceUrl()
この SP がアサーションの受信を希望する目的のAssertionConsumerServiceUrl
を返します。IDP はこのリクエストを受け入れる場合と受け入れない場合があります。このプロパティは、AuthNRequest.AssertionConsumerServiceURL
XML 属性を設定します。- 戻り値:
- AssertionConsumerServiceURL 値
getRelayState
public java.lang.String getRelayState()
パラメーターに存在する場合、RelayState 値を返します- 戻り値:
- RelayState 値、または使用できない場合は null
getDestination
public java.lang.String getDestination()
この認証リクエストに対して、Destination
(WEB シングルサインオン URI)を返します。このプロパティは、AuthNRequest.Destination
XML 属性を設定することもできます。- 戻り値:
- 宛先値
builder
public static Saml2AuthenticationRequestContext.Builder builder()
- 戻り値:
- ビルダーオブジェクト