クラス RelyingPartyRegistration.Builder
- 含まれているクラス:
- RelyingPartyRegistration
コンストラクターの概要
コンストラクター修飾子コンストラクター説明protectedBuilder(StringSE registrationId, AssertingPartyMetadata.Builder<?> assertingPartyMetadataBuilder) メソッドのサマリー
修飾子と型メソッド説明assertingPartyMetadata(ConsumerSE<AssertingPartyMetadata.Builder<?>> assertingPartyMetadata) このConsumerSE を適用して、アサーティングパーティメタデータをさらに構成します。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 バインディングCollectionSE を変更する目的で、このConsumerSE をSaml2MessageBindingのCollectionSE に適用します。singleLogoutServiceLocation(StringSE singleLogoutServiceLocation) singleLogoutServiceResponseLocation(StringSE singleLogoutServiceResponseLocation)
コンストラクターの詳細
Builder
protected Builder(StringSE registrationId, AssertingPartyMetadata.Builder<?> assertingPartyMetadataBuilder)
メソッドの詳細
registrationId
registrationIdテンプレートを設定します。多くの場合、URL パスで使用されます- パラメーター:
id- このオブジェクトの registrationId は一意である必要があります- 戻り値:
- このオブジェクト
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- -CollectionSE を変更するためのConsumerSE- 戻り値:
- さらなる構成のための
RelyingPartyRegistration.Builder - 導入:
- 5.4
decryptionX509Credentials
public RelyingPartyRegistration.Builder decryptionX509Credentials(ConsumerSE<CollectionSE<Saml2X509Credential>> credentialsConsumer) - パラメーター:
credentialsConsumer- -CollectionSE を変更するためのConsumerSE- 戻り値:
- さらなる構成のための
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 バインディングCollectionSE を変更する目的で、このConsumerSE をSaml2MessageBindingのCollectionSE に適用します。証明書利用者の <SPSSODescriptor> の <SingleLogoutService Binding="..." /> にある値に相当します。
- パラメーター:
bindingsConsumer- -CollectionSE を変更するためのConsumerSE- 戻り値:
- さらなる構成のための
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- 指定された NameID 形式- 戻り値:
- さらなる構成のための
RelyingPartyRegistration.Builder - 導入:
- 5.7
authnRequestsSigned
AuthnRequestsSigned の設定を行います。trueの場合、依存当事者はすべての AuthnRequests に署名し、当事者の優先順位を主張します。RelyingPartyRegistration.isAuthnRequestsSigned()がtrueであるか、RelyingPartyRegistration.AssertingPartyDetails.getWantAuthnRequestsSigned()がtrueである場合、Spring Security はリクエストに署名することに注意してください。- 戻り値:
- さらなる構成のための
RelyingPartyRegistration.Builder - 導入:
- 6.1
assertingPartyMetadata
public RelyingPartyRegistration.Builder assertingPartyMetadata(ConsumerSE<AssertingPartyMetadata.Builder<?>> assertingPartyMetadata) このConsumerSE を適用して、アサーティングパーティメタデータをさらに構成します。- パラメーター:
assertingPartyMetadata- 適用するConsumerSE- 戻り値:
- さらなる構成のための
RelyingPartyRegistration.Builder - 導入:
- 6.4
build
ビルダー構成に基づいて RelyingPartyRegistration オブジェクトを構築します- 戻り値:
- RelyingPartyRegistration インスタンス