Skip to content

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

Notifications You must be signed in to change notification settings

malavolti/saml-validator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

$ 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:

$ 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:

$ 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.

<Directory /var/www/saml-validator/>
    Options -Indexes
</Directory>

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 98.9%
  • CSS 1.1%