Uses of Class
se.swedenconnect.spring.saml.idp.settings.MetadataSettings.Builder
Packages that use MetadataSettings.Builder
-
Uses of MetadataSettings.Builder in se.swedenconnect.spring.saml.idp.settings
Methods in se.swedenconnect.spring.saml.idp.settings that return MetadataSettings.BuilderModifier and TypeMethodDescriptionstatic MetadataSettings.Builder
MetadataSettings.builder()
Constructs a newMetadataSettings.Builder
with no settings.MetadataSettings.Builder.cacheDuration
(Duration cacheDuration) Assigns how long the published IdP metadata can remain in a cache.MetadataSettings.Builder.contactPersons
(Map<MetadataSettings.ContactPersonType, MetadataSettings.ContactPersonSettings> contactPersons) Assigns aMap
where the keys areMetadataSettings.ContactPersonType
and the valuesMetadataSettings.ContactPersonSettings
.MetadataSettings.Builder.digestMethods
(List<String> digestMethods) Assigns thealg:DigestMethod
elements that should be included in the metadata.MetadataSettings.Builder.digestMethodsUnderRole
(Boolean underRole) Assigns whetheralg:DigestMethod
elements should be placed in anExtensions
element under the role descriptor (i.e., theIDPSSODescriptor
).MetadataSettings.Builder.encryptionMethods
(List<MetadataSettings.EncryptionMethodSettings> encryptionMethods) Assigns themd:EncryptionMethod
elements that should be included under themd:KeyDescriptor
for the encryption key.MetadataSettings.Builder.organization
(MetadataSettings.OrganizationSettings organization) Assigns theOrganization
element.MetadataSettings.Builder.requestedPrincipalSelection
(List<String> attributeNames) Assigns the attribute names that should be included under theRequestedPrincipalSelection
metadata extension.MetadataSettings.Builder.signingMethods
(List<MetadataSettings.SigningMethodSettings> signingMethods) Assigns thealg:SigningMethod
elements that should be included in the metadata.MetadataSettings.Builder.signingMethodsUnderRole
(Boolean underRole) Assigns whetheralg:SigningMethod
elements should be placed in anExtensions
element under the role descriptor (i.e., theIDPSSODescriptor
).Assigns the template for the IdP metadata.MetadataSettings.Builder.uiInfo
(MetadataSettings.UIInfoSettings uiInfo) Assigns theMetadataSettings.UIInfoSettings
.MetadataSettings.Builder.validityPeriod
(Duration validityPeriod) Assigns for how long a published metadata entry should be valid.static MetadataSettings.Builder
MetadataSettings.withSettings
(Map<String, Object> settings) Constructs a newMetadataSettings.Builder
with the provided settings.