InCommon MDQ on IDP v3.4.8

Peter Smith Peter.Smith at UTSouthwestern.edu
Fri Nov 17 18:24:52 UTC 2023


Good afternoon.

I'm trying to configure the InCommon MDQ setup on our IDP v3.4.8 but it seems to choke on the "EntityAttributes", "Attribute", and "AttributeValue" entries.

The complaints seem to be as follows.

ERROR [net.shibboleth.utilities.java.support.service.AbstractReloadableService:182] - Service 'shibboleth.MetadataResolverService': Initial load failed
net.shibboleth.utilities.java.support.service.ServiceException: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 667 in XML document from file [conf/metadata-providers.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 667; columnNumber: 53; cvc-complex-type.2.4.d: Invalid content was found starting with element 'MetadataFilter'. No child element is expected at this point.
        at net.shibboleth.ext.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:377)
Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 667 in XML document from file [conf/metadata-providers.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 667; columnNumber: 53; cvc-complex-type.2.4.d: Invalid content was found starting with element 'MetadataFilter'. No child element is expected at this point.

I was following this documentation while trying to implement this -- https://spaces.at.internet2.edu/display/MDQ/Tagging+Per-Entity+Metadata

If I remove the following block (from the above documentation) then the IDP loads without any errors (but of course the functionality I'm trying to get is not available.)

            <!-- lines around added an entity attribute to the entity -->
            <MetadataFilter xsi:type="EntityAttributes">
                <saml:Attribute Name="source_of_metadata">
                            <saml:AttributeValue>incommon-mdq</saml:AttributeValue>
                </saml:Attribute>
                <ConditionRef>shibboleth.Conditions.TRUE</ConditionRef>
            </MetadataFilter>
            <!-- End of section -->

Any ideas or tips?

Thank you,
Peter


________________________________

UT Southwestern

Medical Center

The future of medicine, today.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20231117/3f3c16ff/attachment.htm>


More information about the users mailing list