unicaen-auth.local.php.dist 1.15 KB
Newer Older
Bertrand Gauthier's avatar
Bertrand Gauthier committed
1
2
3
4
5
6
7
8
9
<?php
/**
 * UnicaenAuth Configuration
 *
 * If you have a ./config/autoload/ directory set up for your project, you can
 * drop this config file in it and change the values as you wish.
 */
$settings = array(
    /**
Bertrand Gauthier's avatar
Bertrand Gauthier committed
10
11
12
     * Paramètres de connexion au serveur CAS :
     * - pour désactiver l'authentification CAS, le tableau 'cas' doit être vide.
     * - pour l'activer, renseigner les paramètres.
Bertrand Gauthier's avatar
Bertrand Gauthier committed
13
     */
Bertrand Gauthier's avatar
Bertrand Gauthier committed
14
15
16
17
    'cas' => array(
//        'connection' => array(
//            'default' => array(
//                'params' => array(
18
//                    'hostname' => 'cas.unicaen.fr',
Bertrand Gauthier's avatar
Bertrand Gauthier committed
19
20
21
22
23
24
25
//                    'port' => 443,
//                    'version' => "2.0",
//                    'uri' => "",
//                    'debug' => false,
//                ),
//            ),
//        ),
Bertrand Gauthier's avatar
Bertrand Gauthier committed
26
27
28
29
30
31
    ),
    /**
     * Mot de passe sésame, chiffré avec l'algo Bcrypt
     * $bcrypt = new \Zend\Crypt\Password\Bcrypt(); 
     * echo $bcrypt->create('votreMotDePasseSesame');
     */
32
//    'sesame_password' => '$2y$14$jbCVltklcys8TQj3hu30.OcKMi7rtUgmu3eo/nxMXynYvcZ5iHF8q',
Bertrand Gauthier's avatar
Bertrand Gauthier committed
33
34
35
36
37
38
39
);

/**
 * You do not need to edit below this line
 */
return array(
    'unicaen-auth' => $settings,
40
);