Last active
January 4, 2018 10:04
-
-
Save sw-samuraj/aa1c7bd3bc6a230b6e0b02f9b4da411f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Bean | |
public MetadataProvider metadataProvider() | |
throws ResourceException, MetadataProviderException { | |
ClasspathResource resource = | |
new ClasspathResource("/metadata/FederationMetadata.xml"); | |
ResourceBackedMetadataProvider provider = new | |
ResourceBackedMetadataProvider(timer, resource); | |
provider.setParserPool(parserPool()); | |
return provider; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment