KNF:SimpleSAMLphp-idp/en: verschil tussen versies

Uit Kennisnet Developers Documentatie
Ga naar: navigatie, zoeken
(Nieuwe pagina aangemaakt met '==Installation of SimpleSAMLphp== In order to install SimpleSAMLphp you need to follow the installation guide at either one of these two links: #[http://simplesamlp...')
 
(Adapt configuration for Entree Federation)
Regel 6: Regel 6:
   
 
==Adapt configuration for Entree Federation==
 
==Adapt configuration for Entree Federation==
In the file <source lang="text" enclose="none">authsources.php</source> you have to configure what kind of userstore you will be using. For example the userstore could be an LDAP, an SQL database, a file or an array. A summary of the options can be found at [http://simplesamlphp.org/docs/1.5/simplesamlphp-idp#section_2 de Quickstart van SimpleSAMLphp].
+
In the file <source lang="text" enclose="none">authsources.php</source> you have to configure what kind of userstore you will be using. For example the userstore could be an LDAP, an SQL database, a file or an array. A summary of the options can be found at [http://simplesamlphp.org/docs/1.5/simplesamlphp-idp#section_2 SimpleSAMLphp Identity Provider QuickStart].
   
 
<syntaxhighlight lang="php">
 
<syntaxhighlight lang="php">

Versie van 25 aug 2016 om 13:13

Installation of SimpleSAMLphp

In order to install SimpleSAMLphp you need to follow the installation guide at either one of these two links:

  1. Installatie documentatie SimpleSAMLphp
  2. Quickstart document SimpleSAMLphp

Attetntion: Not until you've completed the steps above you can adept the configuration for Entree Federation as described in the following.

Adapt configuration for Entree Federation

In the file authsources.php you have to configure what kind of userstore you will be using. For example the userstore could be an LDAP, an SQL database, a file or an array. A summary of the options can be found at SimpleSAMLphp Identity Provider QuickStart.

    'demoSAMLIdP' => array(
        'exampleauth:UserPass',
        'gebruiker:demo' => array(
            'uid' => array('username@demoOrgansisation'),
            'eduPersonAffiliation' => array('student'),
            'employeeNumber' => '123456789',
            'mail' => 'email@adress.com',
            'givenName' => 'Firstname',
            'sn' => 'Lastname',
            'nlEduPersonHomeOrganizationId' => 'BRIN',
            'nlEduPersonHomeOrganization' => 'Schoolname'
        ),

Configure userstore in authsources.php

Invoke userstore from metadata/saml20-idp-hosted.php