[Building Sakai] Get multiple e-mails from LDAP

Rosa María Silveira Puertas rmsilvei at pas.ucm.es
Thu Oct 20 05:36:39 PDT 2011


Hi all!

 

We have an LDAP attribute that contains a list of e-mails.

Now Sakai does this:

 

1.     Sakai uses getEmail method for asking LDAP the user's e-mail

2.     getEmail method asks LDAP for the attritute mapped at XML jldap-beans.xml file

3.     LDAP returns the first e-mail from the list

4.       getEmail method returns that value

 

But we would like to have this behavior:

 

1.     Sakai uses getEmail method for asking LDAP the user's e-mail

2.     getEmail method asks LDAP for the attritute mapped at XML jldap-beans.xml file

3.     LDAP returns the entire list of e-mails

4.       getEmail method returns one of the user's e-mail according to a new sakai propertie

 

Any idea of how getting the entire list of e-mails from LDAP?

 

Thanks and best regards, Rosa

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20111020/a4601d14/attachment.html 


More information about the sakai-dev mailing list