1<?php 2/** 3 * Default settings for the authshibboleth plugin. 4 * 5 * @author Ivan Novakov http://novakov.cz/ 6 * @license http://debug.cz/license/bsd-3-clause BSD 3 Clause 7 * @link https://github.com/ivan-novakov/dokuwiki-shibboleth-auth Homepage 8 * 9 * @link https://www.dokuwiki.org/devel:configuration#default_settings Documentation 10 */ 11$conf = array( 12 13 /* 14 * auth plugin (auth.php) 15 */ 16 17 // Rely on the Dokuwiki session 18 'use_dokuwiki_session' => true, 19 20 // The Shibboleth logout handler - /Shibboleth.sso/Logout 21 'logout_handler' => 'Logout', 22 23 // full URL 24 'logout_handler_location' => null, 25 26 // Logout return URL 27 'logout_return_url' => null, 28 29 // Shibboleth handler base 30 'shibboleth_handler_base' => '/Shibboleth.sso/', 31 32 // The variable, which contains the remote user identity 33 'var_remote_user' => 'REMOTE_USER', 34 35 // The variable, which contains user's display name 36 'var_display_name' => 'cn', 37 38 // The variable, which contains user's email 39 'var_mail' => 'mail', 40 41 // The name of the variable containing the Shibboleth session ID 42 'var_shib_session_id' => 'Shib-Session-ID', 43 44 // Configuration of group sources 45 'group_source_config' => array(), 46 47 // Simple template for user display name construction 48 'display_name_tpl' => null, 49 50 // Enable logging 51 'log_enabled' => false, 52 53 // Specify log file 54 'log_file' => null, 55 56 // Set the logging priority - DEBUG=7, INFO=6, ERR=3 57 'log_priority' => 7, 58 59 // Enable debugging - writes messages to the PHP's error log 60 'log_to_php' => false, 61 62 // Cache file for users display name and mail address 63 'auth_usersfile' => 'users.auth.shib.php', 64 65 /* 66 * action plugin (action.php) 67 */ 68 69 // The name of the login handler to be used. 70 'login_handler' => 'Login', 71 72 // Full URL specifying the login handler, for example: https://sp.example.org/Shibboleth.sso/Login 73 'login_handler_location' => null, 74 75 // Target page to redirect to, after successful login. 76 'login_target' => null 77);