Metadata Aggregator schema validation and logging

Patrik Schnellmann patrik.schnellmann at switch.ch
Mon Nov 28 14:11:29 GMT 2011


Hi all

There are two things where I did not get an answer on the wiki.

First, when it comes to the configuration of the schema validation, there's
something I would like to configure properly:
The schema file "saml-schema-metadata-2.0.xsd" depends on other xsd files
from which it imports the namespaces. How could I use a java classpath for
these imports? I only got that working using absolute file paths which is
not proper enough for me.

The second thing is logging. I wanted to log less than on debug level, i.e.
on the info level which of the EntityDescriptors (or EntitiesDescriptors)
were processed. I defined the bean as follows:
>     <util:list id="infoStatusClass">
>         <value>#{T(net.shibboleth.metadata.InfoStatus)}</value>
>     </util:list>
>     <bean id="logItemInfo"
class="net.shibboleth.metadata.pipeline.StatusMetadataLoggingStage"
>           p:id="logItemInfo" p:selectionRequirements-ref="infoStatusClass"/>

... and then used that bean in a stage, but there was no output at all. Does
any stage set that info and does that configuration "read" it correctly?

I'd be happy for some hints!

Best regards,
Patrik

-- 
SWITCH
Serving Swiss Universities
--------------------------
Patrik Schnellmann, Software Engineer
Werdstrasse 2, P.O. Box, CH-8021 Zurich, Switzerland
phone +41 44 2681559, fax +41 44 2681568
patrik.schnellmann at switch.ch, http://www.switch.ch


More information about the dev mailing list