[ Index ]
 

Code source de Claroline 188

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/claroline/inc/conf/def/ -> CLCAS.def.conf.inc.php (source)

   1  <?php // $Id: CLCAS.def.conf.inc.php,v 1.5.2.1 2007/03/08 09:11:41 seb Exp $
   2  /**
   3   * CLAROLINE
   4   *
   5   * This file describe the parameter for user tool
   6   *
   7   * @version 1.8 $Revision: 1.5.2.1 $
   8   *
   9   * @copyright 2001-2006 Universite catholique de Louvain (UCL)
  10   *
  11   * @license http://www.gnu.org/copyleft/gpl.html (GPL) GENERAL PUBLIC LICENSE
  12   *
  13   * @see http://www.claroline.net/wiki/index.php/Config
  14   *
  15   * @author Claro Team <cvs@claroline.net>
  16   *
  17   * @package CLUSR
  18   *
  19   */
  20  // TOOL
  21  $conf_def['config_code'] = 'CLAUTH';
  22  $conf_def['config_file'] = 'auth.cas.conf.php';
  23  $conf_def['config_name'] = 'Central Authentication System';
  24  $conf_def['config_class']= 'auth';
  25  
  26  
  27  $conf_def['section']['CAS']['label']='Cas settings';
  28  $conf_def['section']['CAS']['description']='Centralized Authentication System';
  29  $conf_def['section']['CAS']['properties'] =
  30  array ( 'claro_CasEnabled'
  31        , 'claro_CasServerHostUrl'
  32        , 'claro_CasServerHostPort'
  33        , 'claro_CasServerRoot'
  34        , 'claro_CasLoginString'
  35        , 'claro_CasGlobalLogout'
  36        );
  37  
  38  //PROPERTIES
  39  $conf_def_property_list['claro_CasEnabled'] =
  40  array ('label'         => 'Enable CAS system'
  41        ,'description'   => 'If false, other field are optional'
  42        ,'default'       => FALSE
  43        ,'type'          => 'boolean'
  44        ,'acceptedValue' => array ('TRUE'  => 'Yes'
  45                                  ,'FALSE' => 'No'
  46                                  )
  47        );
  48  
  49  $conf_def_property_list['claro_CasServerHostUrl'] =
  50  array ('label'         => 'Host of CAS server'
  51        //,'description'   => ''
  52        ,'default'       => 'my.cas.server.domain.com'
  53        ,'type'          => 'string'
  54        );
  55  
  56  $conf_def_property_list['claro_CasLoginString'] =
  57  array ('label'         => 'Label of the login url to CAS'
  58        //,'description'   => ''
  59        ,'default'       => 'Magic Login'
  60        ,'type'          => 'string'
  61        );
  62  
  63  
  64  $conf_def_property_list['claro_CasServerHostPort'] =
  65  array ('label'         => 'Port of CAS server'
  66        //,'description'   => ''
  67        ,'default'       => '443'
  68        ,'type'          => 'integer'
  69        );
  70  
  71  $conf_def_property_list['claro_CasServerRoot'] =
  72  array ('label'         => 'Root of CAS server'
  73        ,'description'   => 'Root folder of CAS (example : \'esup-cas/\')'
  74        ,'default'       => ''
  75        ,'type'          => 'string'
  76        );
  77  
  78  $conf_def_property_list['claro_CasGlobalLogout'] =
  79  array ('label'         => 'Logout user from CAS server when user logout from Claroline'
  80        ,'description'   => ''
  81        ,'default'       => FALSE
  82        ,'type'          => 'boolean'
  83        ,'acceptedValue' => array ('TRUE'  => 'Yes'
  84                                  ,'FALSE' => 'No'
  85                                  )
  86        ); 
  87  ?>


Généré le : Thu Nov 29 14:38:42 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics