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
- Host: GitHub
- URL: https://github.com/cesnet/saml-validator
- Owner: CESNET
- License: mit
- Created: 2019-02-07T14:16:06.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-25T08:46:07.000Z (about 1 year ago)
- Last Synced: 2025-10-14T07:18:55.699Z (5 months ago)
- Language: PHP
- Size: 506 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/