Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

The Hub

Baggerone edited this page Dec 8, 2016 · 16 revisions

The hub will need its certs, config.php and authsources.php files as a normal simplesamlphp installation. Examples of these can be found in the ./development/hub folder. (Note the discoURL entry in the authsources.php file.)

Other files it will need are as follows ...

  • /data/vendor/simplesamlphp/simplesamlphp/modules/sildisco/default-enable needs to be created (just an empty file)
  • The files in the ./lib folder will need to go into /data/vendor/simplesamlphp/simplesamlphp/modules/sildisco/lib
  • The files in the ./www folder will need to go into /data/vendor/simplesamlphp/simplesamlphp/modules/sildisco/www
  • The ./sspoverrides/www_saml2_idp/SSOService.php file will need overwrite the same out-of-the-box file in /data/vendor/simplesamlphp/simplesamlphp/www/saml2/idp/

Metadata files

The hub should use the saml20-*-remote.php files from ssp-base in /data/vendor/simplesamlphp/simplesamlphp/metadata/. These pull in metadata from all the files named idp-*.php and sp-*.php respectively, including those in sub-folders.

In order for forced re-authentication to be limited only to situations which warrant it, the saml20-idp-remote.php file should include an authproc as such ...

[ 'class' =>'sildisco:TrackIdps', ]

Also, in order to make use of the sildisco module's features, you will want to include the following entry in that file ...

'SingleSignOnService' => '/module.php/sildisco/idp/SSOService.php',

Clone this wiki locally