An open API service indexing awesome lists of open source software.

https://github.com/cesnet/saml-validator

A PHP tool to validate SAML metadata for compliance with eduID.cz federation rules
https://github.com/cesnet/saml-validator

Last synced: about 1 month ago
JSON representation

A PHP tool to validate SAML metadata for compliance with eduID.cz federation rules

Awesome Lists containing this project

README

          

# SAML-validator

**For more information, look at the [SAML-validator Wiki][] page.**

## Installation
If you would like to test *SAML-validator*, say, in your [JAGGER][] instance or elsewhere, you can run it at [rr.cesnet.cz/saml-validator][]. Anyway, I recommend you to clone the repository to your own machine.

```bash
$ mkdir /var/www/saml-validator/
$ git clone https://github.com/JanOppolzer/saml-validator.git /var/www/saml-validator/
```

For *SAML-validator* to work, you need a temporary directory defined by a `$TMP_DIRECTORY` variable (default value is `tmp/`) writtable by the web-server user (`www-data` in Debian). It is used for storing metadata to validate:
```bash
$ mkdir /var/www/saml-validator/tmp/
$ chown www-data:www-data /var/www/saml-validator/tmp/
```

On Debian 9 (Stretch) you need a web server and a PHP processor with XML support:

```bash
$ apt install apache2 php php-xml
```

You might prefer to disable directory listing by adding the following lines to your Apache configuration. Anyway, an `index.php` file is available, so if this one is loaded by default (most probably), you do not need to disable directory listing.

```apache

Options -Indexes

```

[SAML-validator Wiki]: https://github.com/JanOppolzer/saml-validator/wiki
[JAGGER]: http://jagger.heanet.ie/
[rr.cesnet.cz/saml-validator]: https://rr.cesnet.cz/saml-validator/