クラス RelyingPartyRegistration.Builder
- 既知の直属サブクラス
OpenSamlRelyingPartyRegistration.Builder
- 含まれているクラス:
- RelyingPartyRegistration
コンストラクターのサマリー
コンストラクター修飾子コンストラクター説明protected
Builder
(StringSE registrationId, RelyingPartyRegistration.AssertingPartyDetails.Builder assertingPartyDetailsBuilder) メソッドのサマリー
修飾子と型メソッド説明assertingPartyDetails
(ConsumerSE<RelyingPartyRegistration.AssertingPartyDetails.Builder> assertingPartyDetails) このConsumer
SE を適用して、アサーティングパーティの詳細をさらに設定しますassertionConsumerServiceBinding
(Saml2MessageBinding assertionConsumerServiceBinding) AssertionConsumerService バインディングを設定します。assertionConsumerServiceLocation
(StringSE assertionConsumerServiceLocation) AssertionConsumerService の場所を設定します。authnRequestsSigned
(BooleanSE authnRequestsSigned) AuthnRequestsSigned の設定を行います。build()
ビルダー構成に基づいて RelyingPartyRegistration オブジェクトを構築しますdecryptionX509Credentials
(ConsumerSE<CollectionSE<Saml2X509Credential>> credentialsConsumer) 証明書利用者の EntityID を設定します。nameIdFormat
(StringSE nameIdFormat) NameID 形式を設定しますregistrationId
テンプレートを設定します。signingX509Credentials
(ConsumerSE<CollectionSE<Saml2X509Credential>> credentialsConsumer) singleLogoutServiceBinding
(Saml2MessageBinding singleLogoutServiceBinding) singleLogoutServiceBindings
(ConsumerSE<CollectionSE<Saml2MessageBinding>> bindingsConsumer) SingleLogoutService バインディングCollection
SE を変更する目的で、このConsumer
SE をSaml2MessageBinding
のCollection
SE に適用します。singleLogoutServiceLocation
(StringSE singleLogoutServiceLocation) singleLogoutServiceResponseLocation
(StringSE singleLogoutServiceResponseLocation)
コンストラクターの詳細
Builder
protected Builder(StringSE registrationId, RelyingPartyRegistration.AssertingPartyDetails.Builder assertingPartyDetailsBuilder)
メソッドの詳細
registrationId
registrationId
テンプレートを設定します。多くの場合、URL パスで使用されます- パラメーター:
id
- このオブジェクトの登録 ID は一意である必要があります- 戻り値:
- このオブジェクト
entityId
証明書利用者の EntityID を設定します。証明書利用者の <EntityDescriptor EntityID = "..." /> にある値に相当します。この値には、いくつかのプレースホルダーが含まれる場合があります。それらはbaseUrl
、registrationId
、baseScheme
、baseHost
、basePort
です。- パラメーター:
entityId
- 依存パーティの EntityID- 戻り値:
- さらなる構成のための
RelyingPartyRegistration.Builder
- 導入:
- 5.4
signingX509Credentials
public RelyingPartyRegistration.Builder signingX509Credentials(ConsumerSE<CollectionSE<Saml2X509Credential>> credentialsConsumer) - パラメーター:
credentialsConsumer
- -Collection
SE を変更するためのConsumer
SE- 戻り値:
- さらなる構成のための
RelyingPartyRegistration.Builder
- 導入:
- 5.4
decryptionX509Credentials
public RelyingPartyRegistration.Builder decryptionX509Credentials(ConsumerSE<CollectionSE<Saml2X509Credential>> credentialsConsumer) - パラメーター:
credentialsConsumer
- -Collection
SE を変更するためのConsumer
SE- 戻り値:
- さらなる構成のための
RelyingPartyRegistration.Builder
- 導入:
- 5.4
assertionConsumerServiceLocation
public RelyingPartyRegistration.Builder assertionConsumerServiceLocation(StringSE assertionConsumerServiceLocation) AssertionConsumerService の場所を設定します。証明書利用者の <SPSSODescriptor> の <AssertionConsumerService Location="..." /> にある値に相当します
この値には、いくつかのプレースホルダーが含まれる場合があります。それらは
baseUrl
、registrationId
、baseScheme
、baseHost
、basePort
です。- パラメーター:
assertionConsumerServiceLocation
- AssertionConsumerService の場所- 戻り値:
- さらなる構成のための
RelyingPartyRegistration.Builder
- 導入:
- 5.4
assertionConsumerServiceBinding
public RelyingPartyRegistration.Builder assertionConsumerServiceBinding(Saml2MessageBinding assertionConsumerServiceBinding) AssertionConsumerService バインディングを設定します。証明書利用者の <SPSSODescriptor> の <AssertionConsumerService Binding="..." /> にある値に相当します
- パラメーター:
assertionConsumerServiceBinding
- AssertionConsumerService バインディング- 戻り値:
- さらなる構成のための
RelyingPartyRegistration.Builder
- 導入:
- 5.4
singleLogoutServiceBinding
public RelyingPartyRegistration.Builder singleLogoutServiceBinding(Saml2MessageBinding singleLogoutServiceBinding) SingleLogoutService バインディングを設定する証明書利用者の <SPSSODescriptor> の <SingleLogoutService Binding="..." /> にある値に相当します。
- パラメーター:
singleLogoutServiceBinding
- SingleLogoutService バインディング- 戻り値:
- さらなる構成のための
RelyingPartyRegistration.Builder
- 導入:
- 5.6
singleLogoutServiceBindings
public RelyingPartyRegistration.Builder singleLogoutServiceBindings(ConsumerSE<CollectionSE<Saml2MessageBinding>> bindingsConsumer) SingleLogoutService バインディングCollection
SE を変更する目的で、このConsumer
SE をSaml2MessageBinding
のCollection
SE に適用します。証明書利用者の <SPSSODescriptor> の <SingleLogoutService Binding="..." /> にある値に相当します。
- パラメーター:
bindingsConsumer
- -Collection
SE を変更するためのConsumer
SE- 戻り値:
- さらなる構成のための
RelyingPartyRegistration.Builder
- 導入:
- 5.8
singleLogoutServiceLocation
public RelyingPartyRegistration.Builder singleLogoutServiceLocation(StringSE singleLogoutServiceLocation) SingleLogoutService の場所を設定する証明書利用者の <SPSSODescriptor> の <SingleLogoutService Location="..." /> にある値に相当します。
- パラメーター:
singleLogoutServiceLocation
- SingleLogoutService ロケーション- 戻り値:
- さらなる構成のための
RelyingPartyRegistration.Builder
- 導入:
- 5.6
singleLogoutServiceResponseLocation
public RelyingPartyRegistration.Builder singleLogoutServiceResponseLocation(StringSE singleLogoutServiceResponseLocation) SingleLogoutService レスポンス場所を設定する証明書利用者の <SPSSODescriptor> の <SingleLogoutService ResponseLocation="..." /> にある値に相当します。
- パラメーター:
singleLogoutServiceResponseLocation
- SingleLogoutService レスポンス位置- 戻り値:
- さらなる構成のための
RelyingPartyRegistration.Builder
- 導入:
- 5.6
nameIdFormat
NameID 形式を設定します- パラメーター:
nameIdFormat
-- 戻り値:
- さらなる構成のための
RelyingPartyRegistration.Builder
- 導入:
- 5.7
authnRequestsSigned
AuthnRequestsSigned の設定を行います。true
の場合、依存当事者はすべての AuthnRequests に署名し、当事者の優先順位を主張します。RelyingPartyRegistration.isAuthnRequestsSigned()
がtrue
であるか、RelyingPartyRegistration.AssertingPartyDetails.getWantAuthnRequestsSigned()
がtrue
である場合、Spring Security はリクエストに署名することに注意してください。- 戻り値:
- さらなる構成のための
RelyingPartyRegistration.Builder
- 導入:
- 6.1
assertingPartyDetails
public RelyingPartyRegistration.Builder assertingPartyDetails(ConsumerSE<RelyingPartyRegistration.AssertingPartyDetails.Builder> assertingPartyDetails) このConsumer
SE を適用して、アサーティングパーティの詳細をさらに設定します- パラメーター:
assertingPartyDetails
- 適用するConsumer
SE- 戻り値:
- さらなる構成のための
RelyingPartyRegistration.Builder
- 導入:
- 5.4
build
ビルダー構成に基づいて RelyingPartyRegistration オブジェクトを構築します- 戻り値:
- RelyingPartyRegistration インスタンス