Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 3.05 KB

README.adoc

File metadata and controls

37 lines (24 loc) · 3.05 KB

SAML metadata QA validator

An Apache Ant project in which ISO Schematron is used to validate SAML metadata about Service Providers, as published by the CLARIN Service Provider Federation.

The aim of this validation effort, beyond XML Schema (XSD), is that the SAML metadata XSDs have some weaknesses (e.g., regarding md:ContactPerson the element), and that validation beyond basic formal validity has proven indispensable for non-technical policy adherence and interoperability of SAML metadata across identity federations and SAML implementations.

1. Requirements

2. Running

  1. Clone the repository, cd to it:

  2. Run ant -v -DinputFile=file:<path_to_saml_metadata_file>

By default, if -DinputFile=file:<path_to_saml_metadata_file> is not specified, ant -v will assess the metadata quality of the the main CLARIN SPF metadata file. This default is defined in build.xml#L34[build.xml]

3. Use cases

The SAML metadata QA validator is currently used by the CI system of the CLARIN SPF-SPs-metadata repository to automatically generate its QA assessment report on every commit.

This aids CLARIN SP operators and managers, to access the quality and conformance of their metadata with the CLARIN SPF metadata guidelines, uppon submmition of their SAML metadata to the repository. It also helps the CLARIN SPF operators to make recomendations and acceptance decisions.

4. Output