KNF:SimpleSAMLphp-idp/en: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
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 SimpleSAMLphp Identity Provider QuickStart]. |
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]. |
||
Regel 25: | Regel 28: | ||
</syntaxhighlight> |
</syntaxhighlight> |
||
+ | |||
⚫ | |||
Versie van 25 aug 2016 13:20
Installation of SimpleSAMLphp
In order to install SimpleSAMLphp you need to follow the installation guide at either one of these two links:
Attention: Not until you've completed the steps above you can adapt the configuration for Entree Federation as described in the following.
Adapt configuration for Entree Federation
Configure userstore in authsources.php
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.
In this example we'll use the option exampleauth:UserPass
. As an userstore we will be using an array containing usernames and passwords.
'demoSAMLIdP' => array(
'exampleauth:UserPass',
'user:demo' => array(
'uid' => array('username@demoOrgansisation'),
'eduPersonAffiliation' => array('student'),
'employeeNumber' => '123456789',
'mail' => 'email@address.com',
'givenName' => 'John',
'sn' => 'Doe',
'nlEduPersonHomeOrganizationId' => 'BRIN',
'nlEduPersonHomeOrganization' => 'My School'
),