Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
2.3.0
-
None
-
None
Description
From: Black, Carey M. black.123@osu.edu
Sent: Tuesday, April 04, 2017 6:57 PM
To: Hyzer, Chris <mchyzer@isc.upenn.edu>; grouper-users@internet2.edu
Subject: RE: GrouperJndiSourceAdapter questions...
RE: setting email value
I already have this in my config. (But it is not working) Any other ideas of what I might be doing wrong?
“
<init-param>
<param-name>emailAttributeName</param-name>
<param-value>mail</param-value>
</init-param>
“
The LDAP source has a value for the attribute “mail” that is an email address. (example: black.123@osu.edu)
When I use the Subject API diagnostics page I see this in the output for my Subject ID:
“
Subject attribute 'mail' has 1 value: 'black.123@osu.edu'
- with subject.getAttributeValue("mail")
“
REF: https://github.com/Internet2/grouper/blob/master/subject/conf/ldap.sources.xml.example
I do not see a sample for “emailAttributeName” and the format looks more like “Name_AttributeType”…..
REF: https://github.com/Internet2/grouper/blob/GROUPER_2_3_0-branch/subject/tests/edu/internet2/middleware/subject/provider/JNDISourceAdapterTest.java
Only test for “SubjectID_AttributeType”, “Name_AttributeType” and “Description_AttributeTyp”.
No email attribute looking value.
Is this just a “miss” in this API? (Or am I not seeing something?)