Loading src/UnicaenAuthentification/Authentication/Adapter/Cas.php +1 −1 Changes for src/UnicaenAuthentification/Authentication/Adapter/Cas.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -127,7 +127,7 @@ class Cas extends AbstractAdapter ->setMessages(['Authentication successful.']); // recherche de l'individu dans l'annuaire LDAP (il existe forcément puisque l'auth CAS a réussi) $usernameAttribute = $this->getModuleOptions()->getLdapUsername(); $usernameAttribute = $this->getModuleOptions()->getLdap()['username']; switch ($usernameAttribute) { case 'uid': $ldapPeople = $this->getLdapPeopleMapper()->findOneByUid($identity->getUsername()); Loading src/UnicaenAuthentification/Authentication/Adapter/Ldap.php +1 −1 Changes for src/UnicaenAuthentification/Authentication/Adapter/Ldap.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -129,7 +129,7 @@ class Ldap extends AbstractAdapter implements EventManagerAwareInterface } // recherche de l'individu dans l'annuaire LDAP $usernameAttribute = $this->getModuleOptions()->getLdapUsername(); $usernameAttribute = $this->getModuleOptions()->getLdap()['username']; switch($usernameAttribute) { case 'uid': $ldapPeople = $this->getLdapPeopleMapper()->findOneByUid($this->usernameUsurpe ?: $username); Loading src/UnicaenAuthentification/Authentication/Storage/Ldap.php +1 −1 Changes for src/UnicaenAuthentification/Authentication/Storage/Ldap.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ class Ldap extends AbstractStorage $sessionIdentity = $this->storage->read(); $username = $sessionIdentity->getUsername(); $usernameAttribute = $this->getModuleOptions()->getLdapUsername(); $usernameAttribute = $this->getModuleOptions()->getLdap()['username']; switch($usernameAttribute) { case 'uid': $identity = $this->getMapper()->findOneByUid($username); Loading src/UnicaenAuthentification/Service/CasService.php +1 −1 Changes for src/UnicaenAuthentification/Service/CasService.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -82,7 +82,7 @@ class CasService error_reporting($oldErrorReporting); // recherche de l'individu dans l'annuaire LDAP (il existe forcément puisque l'auth CAS a réussi) $usernameAttribute = $this->getOptions()->getLdapUsername(); $usernameAttribute = $this->getOptions()->getLdap()['username']; switch($usernameAttribute) { case 'uid': $ldapPeople = $this->getLdapPeopleMapper()->findOneByUid($identity); Loading Loading
src/UnicaenAuthentification/Authentication/Adapter/Cas.php +1 −1 Changes for src/UnicaenAuthentification/Authentication/Adapter/Cas.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -127,7 +127,7 @@ class Cas extends AbstractAdapter ->setMessages(['Authentication successful.']); // recherche de l'individu dans l'annuaire LDAP (il existe forcément puisque l'auth CAS a réussi) $usernameAttribute = $this->getModuleOptions()->getLdapUsername(); $usernameAttribute = $this->getModuleOptions()->getLdap()['username']; switch ($usernameAttribute) { case 'uid': $ldapPeople = $this->getLdapPeopleMapper()->findOneByUid($identity->getUsername()); Loading
src/UnicaenAuthentification/Authentication/Adapter/Ldap.php +1 −1 Changes for src/UnicaenAuthentification/Authentication/Adapter/Ldap.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -129,7 +129,7 @@ class Ldap extends AbstractAdapter implements EventManagerAwareInterface } // recherche de l'individu dans l'annuaire LDAP $usernameAttribute = $this->getModuleOptions()->getLdapUsername(); $usernameAttribute = $this->getModuleOptions()->getLdap()['username']; switch($usernameAttribute) { case 'uid': $ldapPeople = $this->getLdapPeopleMapper()->findOneByUid($this->usernameUsurpe ?: $username); Loading
src/UnicaenAuthentification/Authentication/Storage/Ldap.php +1 −1 Changes for src/UnicaenAuthentification/Authentication/Storage/Ldap.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ class Ldap extends AbstractStorage $sessionIdentity = $this->storage->read(); $username = $sessionIdentity->getUsername(); $usernameAttribute = $this->getModuleOptions()->getLdapUsername(); $usernameAttribute = $this->getModuleOptions()->getLdap()['username']; switch($usernameAttribute) { case 'uid': $identity = $this->getMapper()->findOneByUid($username); Loading
src/UnicaenAuthentification/Service/CasService.php +1 −1 Changes for src/UnicaenAuthentification/Service/CasService.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -82,7 +82,7 @@ class CasService error_reporting($oldErrorReporting); // recherche de l'individu dans l'annuaire LDAP (il existe forcément puisque l'auth CAS a réussi) $usernameAttribute = $this->getOptions()->getLdapUsername(); $usernameAttribute = $this->getOptions()->getLdap()['username']; switch($usernameAttribute) { case 'uid': $ldapPeople = $this->getLdapPeopleMapper()->findOneByUid($identity); Loading