From b1d0d039a324aed4473f36d106245cf375773ddf Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Mon, 3 Oct 2011 13:51:27 +0000 Subject: [PATCH] More options for CAS to allow automatic synchro of CAS/LDAP users SVN:trunk[1624] --- core/config.class.inc.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/core/config.class.inc.php b/core/config.class.inc.php index 8ca0c9c8f4..d9cd5c8243 100644 --- a/core/config.class.inc.php +++ b/core/config.class.inc.php @@ -383,6 +383,24 @@ class Config 'source_of_value' => '', 'show_in_conf_sample' => true, ), + 'cas_user_synchro' => array( + 'type' => 'bool', + 'description' => 'Whether or not to synchronize users with CAS/LDAP', + // examples... not used (nor 'description') + 'default' => 0, + 'value' => 0, + 'source_of_value' => '', + 'show_in_conf_sample' => true, + ), + 'cas_profile_pattern' => array( + 'type' => 'string', + 'description' => 'A regular expression pattern to extract the name of the iTop profile from the name of an LDAP/CAS group', + // examples... not used (nor 'description') + 'default' => '/^cn=([^,]+),/', + 'value' => '/^cn=([^,]+),/', + 'source_of_value' => '', + 'show_in_conf_sample' => true, + ), 'cas_debug' => array( 'type' => 'bool', 'description' => 'Activate the CAS debug',