Commit ca573a4e authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Entité LDAP People: prise en compte de l'attribut eduPersonPrincipalName (EPPN)

parent d219814e
Loading
Loading
Loading
Loading
+7 −0
Changes for src/UnicaenApp/Entity/Ldap/People.php: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ class People extends AbstractEntity
    protected $sn;
    protected $supannaffectation;
    protected $ucbnstructurerecherche;
    protected $eduPersonPrincipalName;
    protected $eduPersonOrgUnitDN;
    protected $eduPersonPrimaryOrgUnitDN;
    protected $supannaliaslogin;
@@ -75,6 +76,7 @@ class People extends AbstractEntity
            $this->sn                        = $this->processDataValue('sn');
            $this->supannaffectation         = $this->processDataValue('supannaffectation');
            $this->ucbnstructurerecherche    = $this->processDataValue('ucbnstructurerecherche');
            $this->eduPersonPrincipalName    = $this->processDataValue('edupersonprincipalname');
            $this->eduPersonOrgUnitDN        = $this->processDataValue('edupersonorgunitdn');
            $this->eduPersonPrimaryOrgUnitDN = $this->processDataValue('edupersonprimaryorgunitdn');
            $this->ucbnstructurerecherche    = $this->processDataValue('ucbnstructurerecherche');
@@ -188,6 +190,11 @@ class People extends AbstractEntity
        return $this->supannaliaslogin;
    }

    public function getEduPersonPrincipalName()
    {
        return $this->eduPersonPrincipalName;
    }

    public function getEduPersonOrgUnitDN()
    {
        return $this->eduPersonOrgUnitDN;