Class Saml2IdpMetadataEndpointConfigurer
java.lang.Object
se.swedenconnect.spring.saml.idp.config.configurers.Saml2IdpMetadataEndpointConfigurer
Configurer for the metadata publishing endpoint.
- Author:
- Martin Lindström
-
Method Summary
Modifier and TypeMethodDescriptionentityDescriptorCustomizer
(org.springframework.security.config.Customizer<org.opensaml.saml.saml2.metadata.EntityDescriptor> metadataCustomizer) Sets theCustomizer
providing access to theEntityDescriptor
allowing the ability to customize how the published IdP metadata is constructed.protected final org.springframework.security.config.annotation.ObjectPostProcessor
<Object> Gets the object post processor.protected final <T> T
postProcess
(T object) Post processes the supplied object.
-
Method Details
-
entityDescriptorCustomizer
public Saml2IdpMetadataEndpointConfigurer entityDescriptorCustomizer(org.springframework.security.config.Customizer<org.opensaml.saml.saml2.metadata.EntityDescriptor> metadataCustomizer) Sets theCustomizer
providing access to theEntityDescriptor
allowing the ability to customize how the published IdP metadata is constructed.- Parameters:
metadataCustomizer
- theCustomizer
providing access to theEntityDescriptor
- Returns:
- the
Saml2IdpMetadataEndpointConfigurer
for further configuration
-
postProcess
protected final <T> T postProcess(T object) Post processes the supplied object.- Type Parameters:
T
- the type- Parameters:
object
- the object to process- Returns:
- the processed object
-
getObjectPostProcessor
protected final org.springframework.security.config.annotation.ObjectPostProcessor<Object> getObjectPostProcessor()Gets the object post processor.- Returns:
- the object post processor
-