Search in sources :

Example 6 with ExtendedMetadata

use of org.springframework.security.saml.metadata.ExtendedMetadata in project open-kilda by telstra.

the class SecurityConfig method extendedMetadata.

@Bean
public ExtendedMetadata extendedMetadata() {
    ExtendedMetadata extendedMetadata = new ExtendedMetadata();
    extendedMetadata.setIdpDiscoveryEnabled(false);
    extendedMetadata.setSignMetadata(false);
    return extendedMetadata;
}
Also used : ExtendedMetadata(org.springframework.security.saml.metadata.ExtendedMetadata) Bean(org.springframework.context.annotation.Bean)

Aggregations

ExtendedMetadata (org.springframework.security.saml.metadata.ExtendedMetadata)6 FilePersistenceUtil (com.synopsys.integration.alert.common.persistence.util.FilePersistenceUtil)3 ParserPool (org.opensaml.xml.parse.ParserPool)3 MetadataGenerator (org.springframework.security.saml.metadata.MetadataGenerator)3 ConfigurationModel (com.synopsys.integration.alert.common.persistence.model.ConfigurationModel)2 SAMLContext (com.synopsys.integration.alert.component.authentication.security.saml.SAMLContext)2 SAMLManager (com.synopsys.integration.alert.component.authentication.security.saml.SAMLManager)2 Test (org.junit.jupiter.api.Test)2 Bean (org.springframework.context.annotation.Bean)2 MetadataManager (org.springframework.security.saml.metadata.MetadataManager)2 Gson (com.google.gson.Gson)1 AlertConfigurationException (com.synopsys.integration.alert.api.common.model.exception.AlertConfigurationException)1 AlertProperties (com.synopsys.integration.alert.common.AlertProperties)1 BeforeEach (org.junit.jupiter.api.BeforeEach)1 DbMetadataProvider (org.openkilda.saml.provider.DbMetadataProvider)1 UrlMetadataProvider (org.openkilda.saml.provider.UrlMetadataProvider)1 MetadataProvider (org.opensaml.saml2.metadata.provider.MetadataProvider)1 MetadataProviderException (org.opensaml.saml2.metadata.provider.MetadataProviderException)1 EmptyKeyManager (org.springframework.security.saml.key.EmptyKeyManager)1 CachingMetadataManager (org.springframework.security.saml.metadata.CachingMetadataManager)1