From c8467a2a2131c5a7aa0f62e7b47465c7f3e370bc Mon Sep 17 00:00:00 2001 From: Bertrand Gauthier <bertrand.gauthier@unicaen.fr> Date: Wed, 10 Apr 2019 12:13:52 +0200 Subject: [PATCH] =?UTF-8?q?Page=20d'info=20lorsque=20shibboleth=20est=20ma?= =?UTF-8?q?l=20configur=C3=A9=20:=20mise=20=C3=A0=20jour=20de=20l'exemple?= =?UTF-8?q?=20de=20simulation.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/unicaen-auth/auth/shibboleth.phtml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/view/unicaen-auth/auth/shibboleth.phtml b/view/unicaen-auth/auth/shibboleth.phtml index eeeacd3..0543055 100644 --- a/view/unicaen-auth/auth/shibboleth.phtml +++ b/view/unicaen-auth/auth/shibboleth.phtml @@ -25,7 +25,7 @@ <h2>Autre solution : simuler une authentification Shibboleth</h2> <p> Il est possible de faire comme si un utilisateur s'était connecté via Shibboleth. - Cela se fait via la clé de config 'simulate' : + Cela se fait via la clé de config 'simulate', exemple : </p> <pre> 'unicaen-auth' => [ @@ -33,8 +33,13 @@ 'shibboleth' => [ 'enable' => true, 'simulate' => [ - 'eppn' => 'username@domain.fr', - 'supannEmpId' => '00012345', + 'eppn' => $eppn = 'premierf@univ.fr', + 'supannEmpId' => '00012345', + 'displayName' => $eppn, + 'mail' => $eppn, + 'givenName' => 'François', + 'sn' => 'Premier', + 'supannCivilite' => 'M.' ], ], ], -- GitLab