metadata-providers.xml syntax

Robert Lamothe robert_lamothe at yahoo.com
Mon Mar 7 12:46:19 EST 2016


    I'm trying to understand the syntax for metadata-providers.xml.   When I look at the web page on MetaDataConfiguration I see two examples:
<MetadataProvider id="LocalMetadata" xsi:type="FilesystemMetadataProvider"    xmlns="urn:mace:shibboleth:2.0:metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"    xsi:schemaLocation="urn:mace:shibboleth:2.0:metadata http://shibboleth.net/schema/idp/shibboleth-metadata.xsd"    failFastInitialization="true"    metadataFile="%{idp.home}/metadata/my-metadata.xml"/>
And
<MetadataProvider id="FederationMetadata" xsi:type="FileBackedHTTPMetadataProvider"    xmlns="urn:mace:shibboleth:2.0:metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"    xsi:schemaLocation="urn:mace:shibboleth:2.0:metadata http://shibboleth.net/schema/idp/shibboleth-metadata.xsd"    metadataURL="http://federation.example.org/metadata.xml"    backingFile="%{idp.home}/metadata/federation-metadata.xml">      <MetadataFilter xsi:type="SignatureValidation" requireSignedRoot="true"        certificateFile="%{idp.home}/conf/metadata/fed-signing-key.pem"/>     <MetadataFilter xsi:type="RequiredValidUntil" maxValidityInterval="P14D"/></MetadataProvider>

    What confuses me is that in one example the <MetadataProvider> doesn't have a closer in the form of </MetadataProvider> but the other one does.
    Is this a mistake in the example?  Or is there some logic that determines when you close the <MetadataProvider> and when you don't?
Regards-Bob
--
Bob Lamothe
robert_lamothe at yahoo.com
KB1BOB
603-918-6336

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20160307/39a1e5f9/attachment-0001.html>


More information about the users mailing list