src/main/java/ch/bfh/ti/i4mi/mag/xua/SamlIDPIntegration.java
// Filter automatically generates default SP metadata
Filter automatically generates default SP metadata
Filter automatically generates default SP metadata
@Bean
	    public MetadataGenerator metadataGenerator() {
	        MetadataGenerator metadataGenerator = new MetadataGenerator();
	        metadataGenerator.setEntityId(entityId);
	        metadataGenerator.setEntityBaseURL(baseUrl+(context.equals("/")?"":context));
	        metadataGenerator.setExtendedMetadata(extendedMetadata());
	        metadataGenerator.setIncludeDiscoveryExtension(false);
	        metadataGenerator.setKeyManager(keyManager());
	        Collection<String> bindings = new ArrayList<String>();
	        bindings.add("urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact");
	        metadataGenerator.setBindingsSSO(bindings);
	        return metadataGenerator;
	    }
@ Bean public MetadataGenerator metadataGenerator ( ) { MetadataGenerator metadataGenerator = new MetadataGenerator ( ) ; metadataGenerator . setEntityId ( entityId ) ; metadataGenerator . setEntityBaseURL ( baseUrl + ( context . equals ( "/" ) ? "" : context ) ) ; metadataGenerator . setExtendedMetadata ( extendedMetadata ( ) ) ; metadataGenerator . setIncludeDiscoveryExtension ( false ) ; metadataGenerator . setKeyManager ( keyManager ( ) ) ; Collection < String > bindings = new ArrayList < String > ( ) ; bindings . add ( "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" ) ; metadataGenerator . setBindingsSSO ( bindings ) ; return metadataGenerator ; }
Filter automatically generates default SP metadata
Filter automatically generates default SP metadata
// Uncomment to use HTTP-Artificat