Uses of Class
se.swedenconnect.opensaml.saml2.metadata.build.EntityDescriptorBuilder
Package
Description
Classes for creating metadata elements using the builder pattern.
-
Uses of EntityDescriptorBuilder in se.swedenconnect.opensaml.saml2.metadata.build
Modifier and TypeMethodDescriptionstatic EntityDescriptorBuilder
EntityDescriptorBuilder.builder()
Utility method that creates anEntityDescriptorBuilder
instance.static EntityDescriptorBuilder
EntityDescriptorBuilder.builder
(InputStream resource) Utility method that creates anEntityDescriptorBuilder
instance from a supplied input stream.static EntityDescriptorBuilder
EntityDescriptorBuilder.builder
(org.opensaml.saml.saml2.metadata.EntityDescriptor template) Utility method that creates anEntityDescriptorBuilder
instance from a supplied template.static EntityDescriptorBuilder
EntityDescriptorBuilder.builder
(org.opensaml.saml.saml2.metadata.EntityDescriptor template, boolean clone) Utility method that creates anEntityDescriptorBuilder
instance from a supplied template.EntityDescriptorBuilder.cacheDuration
(Long cacheDuration) Assigns the cacheDuration attribute for theEntityDescriptor
.EntityDescriptorBuilder.cacheDuration
(Duration cacheDuration) Assigns the cacheDuration attribute for theEntityDescriptor
.EntityDescriptorBuilder.contactPersons
(List<org.opensaml.saml.saml2.metadata.ContactPerson> contactPersons) Assigns theContactPerson
elements to the entity descriptor.EntityDescriptorBuilder.contactPersons
(org.opensaml.saml.saml2.metadata.ContactPerson... contactPersons) Assigns the entityID for theEntityDescriptor
.EntityDescriptorBuilder.extensions
(org.opensaml.saml.saml2.metadata.Extensions extensions) Assigns metadata extensions.Assigns the ID attribute for theEntityDescriptor
.EntityDescriptorBuilder.organization
(org.opensaml.saml.saml2.metadata.Organization organization) Assigns theOrganization
element to the entity descriptor.EntityDescriptorBuilder.roleDescriptors
(List<org.opensaml.saml.saml2.metadata.RoleDescriptor> roleDescriptors) Adds the supplied SSO descriptors.EntityDescriptorBuilder.roleDescriptors
(org.opensaml.saml.saml2.metadata.RoleDescriptor... roleDescriptors) EntityDescriptorBuilder.ssoDescriptor
(org.opensaml.saml.saml2.metadata.SSODescriptor ssoDescriptor) Adds one SSO descriptor (which is the most common case).EntityDescriptorBuilder.validUntil
(Instant time) Assigns the valid until time.