Shibboleth XML Configuration file Validation

Cantor, Scott cantor.2 at osu.edu
Fri Sep 21 11:38:39 EDT 2012


On 9/21/12 8:45 AM, "Mark O'Quinn" <mark1oquinn at gmail.com> wrote:
>
>I've been wondering if I should use the Shibboleth's class in charge of
>this process instead of validating the XMLs myself. I assume that can be
>done, because Shibboleth at some point needs to validate the xml (based
>on the schemas) in order to start the idp. I've been looking the class
>SAMLMDRelyingPartyConfigurationManager to check the validation of the
>relying-party.xml file.

The parsing code is much deeper, it's down in xmltooling I would think. I
know there's entity resolution code that's doing the classpath-based
lookups of the schemas, which I would think is in xmltooling, but I guess
could be somewhere else. You basically have to find the code calling into
Xerces and work out from there.

-- Scott




More information about the dev mailing list