How to reload a metadata provider ?

Tom Zeller tzeller at dragonacea.biz
Tue Aug 30 12:50:15 EDT 2016


> That's what reload-metadata does, how are you running it?

I'm running from Eclipse so it's weird, but basically I'm calling
bin/reload-metadata with the argument :

 --service ExampleIdPMetadata

where "ExampleIdPMetadata" is the ID of a
(RefreshableMetadataResolver) bean defined in metadata-providers.xml,
not a Service :

 <MetadataProvider id="ExampleIdPMetadata" xsi:type="FilesystemMetadataProvider"

so not surprisingly it doesn't work :

 WARN [net.shibboleth.idp.profile.impl.ReloadServiceConfiguration:186]
- Profile Action ReloadServiceConfiguration: No bean of the correct
type found named ExampleIdPMetadata
 WARN [net.shibboleth.idp.profile.impl.ReloadServiceConfiguration:102]
- Profile Action ReloadServiceConfiguration: Unable to locate service
to reload

because ExampleIdPMetadata is not a Service.


More information about the dev mailing list