problems loading CAS metadata via FilesystemMetadataResolver

Liam Hoekenga liamr at umich.edu
Thu Feb 21 16:34:03 EST 2019


I have a FilesystemMetadataResolver define in metadata-providers.xml:
    <MetadataProvider id="TestCASMetadata"
      xsi:type="FilesystemMetadataProvider"
      metadataFile="/usr/local/shibboleth-idp/metadata/cas-test.xml"
      indexesRef="shibboleth.CASMetadataIndices"/>

Based on
https://wiki.shibboleth.net/confluence/display/SC/CASMetadataProfile
I think the metadata looks right..
<EntityDescriptor entityID="https://cas-test.example.edu/">
    <SPSSODescriptor protocolSupportEnumeration="
https://www.apereo.org/cas/protocol">
        <AssertionConsumerService
                Binding="https://www.apereo.org/cas/protocol/login"
                Location="https://cas-test.example.edu/"
                index="1"/>
        <SingleLogoutService
                Binding="https://www.apereo.org/cas/protocol/logout"
                Location="urn:mace:shibboleth:profile:CAS:logout"/>
    </SPSSODescriptor>
</EntityDescriptor>

But the IDP complains when it tries to load the metadata, and it's enough
to prevent the IDP from starting at all.  I think the configuration looks
right, but obviously, it's not.

Suggestions?

Liam
---------------
2019-02-21 16:23:56,680 -  - ERROR
[org.opensaml.saml.metadata.resolver.impl.AbstractMetadataResolver:349] -
Metadata Resolver FilesystemMetadataResolver CASMetadata: No unmarshaller
registered for document element EntityDescriptor
2019-02-21 16:23:56,681 -  - ERROR
[org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver:449]
- Metadata Resolver FilesystemMetadataResolver CASMetadata: Unable to
unmarshall metadata
2019-02-21 16:23:56,682 -  - ERROR
[org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver:364]
- Metadata Resolver FilesystemMetadataResolver CASMetadata: Error occurred
while attempting to refresh metadata from
'/usr/local/shibboleth-idp/metadata/cas-test.xml'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20190221/fc612e2a/attachment.html>


More information about the users mailing list