1<?php 2/** 3 * Default settings for the authshibboleth plugin. 4 * 5 * @author Sixto Martin <sixto.martin.garcia@gmail.com> 6 * @author Andreas Aakre Solberg, UNINETT, http://www.uninett.no 7 * @author François Kooman 8 * @author Thijs Kinkhorst, Universiteit van Tilburg 9 * @author Jorge Hervás <jordihv@gmail.com>, Lukas Slansky <lukas.slansky@upce.cz> 10 * @license GPL2 http://www.gnu.org/licenses/gpl.html 11 * @link https://github.com/pitbulk/dokuwiki-saml 12 * 13 * @link https://www.dokuwiki.org/devel:configuration#default_settings Documentation 14 */ 15$conf = array( 16 17 /* 18 * auth plugin (auth.php) 19 */ 20 21 // simpleSAMLphp Path: This refers to the path of the simpleSAMLphp folder. For example: /var/www/simplesamlphp 22 'simplesaml_path' => "/var/www/simplesamlphp", 23 24 // SimpleSAMLphp SP source: Select the SP source you want to connect to moodle. (Sources are at the SP of simpleSAMLphp in config/authsources.php). 25 'simplesaml_authsource' => "default-sp", 26 27 // SAML identify field mapping: It is the SAML attribute that will be mapped to the Dokuwiki username. For example 'uid'. 28 'simplesaml_uid' => "uid", 29 30 // SAML identify field mapping: It is the SAML attribute that will be mapped to the Dokuwiki mail. For example 'mail'. 31 'simplesaml_mail' => "mail", 32 33 // SAML identify field mapping: It is the SAML attribute that will be mapped to the Dokuwiki name. For example 'cn'. 34 'simplesaml_name' => "cn", 35 36 // SAML identify field mapping: It is the SAML attribute that will be mapped to the Dokuwiki groups. 37 // For example 'eduPersonAffiliation'. 38 'simplesaml_grps' => "eduPersonAffiliation", 39 40 41 // Manage users in a separate file. 42 // If the authtype is set to authsaml, then the users will be always stored in a separate file 43 'use_internal_user_store' => true, 44 45 46 /* 47 * action plugin (action.php) 48 */ 49 50 // When enabled, this will hide the normal login form and redirect directly to the IdP. 51 // If the authtype is set to authsaml, then the redirection will be always done 52 'force_saml_login' => false, 53 54 55 56); 57