Interface AssertingPartyMetadata.Builder<B extends AssertingPartyMetadata.Builder<B>>
- All Known Implementing Classes:
OpenSamlAssertingPartyDetails.Builder,RelyingPartyRegistration.AssertingPartyDetails.Builder
- Enclosing interface:
- AssertingPartyMetadata
public static interface AssertingPartyMetadata.Builder<B extends AssertingPartyMetadata.Builder<B>>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates an immutable ProviderDetails object representing the configuration for an Identity Provider, IDPencryptionX509Credentials(Consumer<Collection<Saml2X509Credential>> credentialsConsumer) Apply thisConsumerto the list ofSaml2X509CredentialsSet the asserting party's EntityID.signingAlgorithms(Consumer<List<String>> signingMethodAlgorithmsConsumer) Apply thisConsumerto the list of SigningMethod AlgorithmssingleLogoutServiceBinding(Saml2MessageBinding singleLogoutServiceBinding) Set the SingleLogoutService BindingsingleLogoutServiceLocation(String singleLogoutServiceLocation) Set the SingleLogoutService LocationsingleLogoutServiceResponseLocation(String singleLogoutServiceResponseLocation) singleSignOnServiceBinding(Saml2MessageBinding singleSignOnServiceBinding) Set the SingleSignOnService Binding.singleSignOnServiceLocation(String singleSignOnServiceLocation) Set the SingleSignOnService Location.verificationX509Credentials(Consumer<Collection<Saml2X509Credential>> credentialsConsumer) Apply thisConsumerto the list ofSaml2X509CredentialswantAuthnRequestsSigned(boolean wantAuthnRequestsSigned) Set the WantAuthnRequestsSigned setting, indicating the asserting party's preference that relying parties should sign the AuthnRequest before sending.
-
Method Details
-
entityId
Set the asserting party's EntityID. Equivalent to the value found in the asserting party's <EntityDescriptor EntityID="..."/>- Parameters:
entityId- the asserting party's EntityID- Returns:
- the
AssertingPartyMetadata.Builderfor further configuration
-
wantAuthnRequestsSigned
Set the WantAuthnRequestsSigned setting, indicating the asserting party's preference that relying parties should sign the AuthnRequest before sending.- Parameters:
wantAuthnRequestsSigned- the WantAuthnRequestsSigned setting- Returns:
- the
AssertingPartyMetadata.Builderfor further configuration
-
signingAlgorithms
Apply thisConsumerto the list of SigningMethod Algorithms- Parameters:
signingMethodAlgorithmsConsumer- aConsumerof the list of SigningMethod Algorithms- Returns:
- this
AssertingPartyMetadata.Builderfor further configuration - Since:
- 5.5
-
verificationX509Credentials
Apply thisConsumerto the list ofSaml2X509Credentials- Parameters:
credentialsConsumer- aConsumerof theListofSaml2X509Credentials- Returns:
- the
RelyingPartyRegistration.Builderfor further configuration - Since:
- 5.4
-
encryptionX509Credentials
Apply thisConsumerto the list ofSaml2X509Credentials- Parameters:
credentialsConsumer- aConsumerof theListofSaml2X509Credentials- Returns:
- the
RelyingPartyRegistration.Builderfor further configuration - Since:
- 5.4
-
singleSignOnServiceLocation
Set the SingleSignOnService Location.Equivalent to the value found in <SingleSignOnService Location="..."/> in the asserting party's <IDPSSODescriptor>.
- Parameters:
singleSignOnServiceLocation- the SingleSignOnService Location- Returns:
- the
AssertingPartyMetadata.Builderfor further configuration
-
singleSignOnServiceBinding
Set the SingleSignOnService Binding.Equivalent to the value found in <SingleSignOnService Binding="..."/> in the asserting party's <IDPSSODescriptor>.
- Parameters:
singleSignOnServiceBinding- the SingleSignOnService Binding- Returns:
- the
AssertingPartyMetadata.Builderfor further configuration
-
singleLogoutServiceLocation
Set the SingleLogoutService LocationEquivalent to the value found in <SingleLogoutService Location="..."/> in the asserting party's <IDPSSODescriptor>.
- Parameters:
singleLogoutServiceLocation- the SingleLogoutService Location- Returns:
- the
AssertingPartyMetadata.Builderfor further configuration - Since:
- 5.6
-
singleLogoutServiceResponseLocation
Set the SingleLogoutService Response LocationEquivalent to the value found in <SingleLogoutService ResponseLocation="..."/> in the asserting party's <IDPSSODescriptor>.
- Parameters:
singleLogoutServiceResponseLocation- the SingleLogoutService Response Location- Returns:
- the
AssertingPartyMetadata.Builderfor further configuration - Since:
- 5.6
-
singleLogoutServiceBinding
Set the SingleLogoutService BindingEquivalent to the value found in <SingleLogoutService Binding="..."/> in the asserting party's <IDPSSODescriptor>.
- Parameters:
singleLogoutServiceBinding- the SingleLogoutService Binding- Returns:
- the
AssertingPartyMetadata.Builderfor further configuration - Since:
- 5.6
-
build
AssertingPartyMetadata build()Creates an immutable ProviderDetails object representing the configuration for an Identity Provider, IDP- Returns:
- immutable ProviderDetails object
-