Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
app
Commits
ca573a4e
Commit
ca573a4e
authored
Mar 20, 2018
by
Bertrand Gauthier
Browse files
Entité LDAP People: prise en compte de l'attribut eduPersonPrincipalName (EPPN)
parent
d219814e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/UnicaenApp/Entity/Ldap/People.php
View file @
ca573a4e
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment