Skip to content
Snippets Groups Projects
Select Git revision
  • ab9fcc18e8ce3081cc53b6cb03b07bf6823f72d6
  • master default protected
  • ll-workflow
  • alc-scindage-donnees-pj
  • b24
  • FJ_LL_Tbl_Contrat
  • alc-docker-node
  • ll-apiplatform
  • php84
  • ll-rgpd
  • b23
  • alc-filtre-type-intervenant
  • ll-sans-mdb5
  • formules-ancienne-infra
  • ll-formules
  • alc-intervenant-dmep
  • ll-suppr-v_vol-s
  • b20
  • ll-postgresql
  • b23.0.1
  • b22
  • 24.8
  • 24.7
  • 24.6
  • 24.5
  • 24.4
  • 24.3
  • 24.2
  • 24.1
  • 24.0
  • 23.15
  • 24.0-beta19
  • 24.0-beta18
  • 24.0-beta17
  • 24.0-beta16
  • 24.0-beta15
  • 24.0-beta14
  • 24.0-beta13
  • 23.14
  • 24.0-beta12
  • 24.0-beta11
41 results

HydratorAwareTrait.php

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    unicaen-auth.local.php.dist 2.10 KiB
    <?php
    
    return [
        'unicaen-auth' => [
    
            /**
             * Configuration de l'authentification Shibboleth.
             */
            'shibboleth' => [
                'enable' => false,
                'simulate' => [
                    'eppn'        => 'gauthierb@unicaen.fr',
                    'supannEmpId' => '00021237',
                ],
                'aliases' => [
                    'eppn'                   => 'HTTP_EPPN',
                    'mail'                   => 'HTTP_MAIL',
                    'eduPersonPrincipalName' => 'HTTP_EPPN',
                    'supannEtuId'            => 'HTTP_SUPANNETUID',
                    'supannEmpId'            => 'HTTP_SUPANNEMPID',
                    'supannCivilite'         => 'HTTP_SUPANNCIVILITE',
                    'displayName'            => 'HTTP_DISPLAYNAME',
                    'sn'                     => 'HTTP_SN',
                    'givenName'              => 'HTTP_GIVENNAME',
                ],
                /*
                'required_attributes' => [
                    'eppn',
                    'mail',
                    'eduPersonPrincipalName',
                    'supannCivilite',
                    'displayName',
                    'sn|surname', // i.e. 'sn' ou 'surname'
                    'givenName',
                    'supannEtuId|supannEmpId',
                ],
                */
            ],
    
            /**
             * 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.
             */
            'cas' => [
                'connection' => [
                    'default' => [
                        'params' => [
                            'hostname' => 'cas.unicaen.fr',
                            'port'     => 443,
                            'version'  => "2.0",
                            'uri'      => "",
                            'debug'    => false,
                        ],
                    ],
                ],
            ],
    
            /**
             * Identifiants de connexion LDAP autorisés à faire de l'usurpation d'identité.
             * NB: à réserver exclusivement aux tests.
             */
            'usurpation_allowed_usernames' => [],
        ],
    ];