/SAML-metadata-checker

Script to validate SAML metadata prior to commit to the CLARIN Service Provider Federation

Primary LanguageShell

SAML-metadata-checker script

Please validate your SP's SAML metadata with this script. This script will be automatically run on every pull request for the SPF-SPs-metadata repository.

To run locally

The script should be plug and play, so on Unix/Linux you can use:

To check a single file

$ ./check-saml-metadata/check_saml_metadata.sh clarin-sp-metadata.xml

To check all .xml files in a directory

$ ./check-saml-metadata/check_saml_metadata.sh <directory_path>

If the check_saml_metadata.sh does not guess JAVA_HOME correctly, please set it explictly, e.g.

$ export JAVA_HOME=/you/path/to/jre