Get LDAP attributes

32 views
Skip to first unread message

Andrea Vescovi

unread,
Jun 13, 2020, 6:07:36 PM6/13/20
to CAS Community
Hi,
I managed to set up a CAS 6.1 and two OpenLDAP on two different domain:
What I'd like to achieve is: let's say i have a user who exist in
Is the same user but exists in two domains...it happens 😄
Let's say i can identify him by an attribute, let's say roomNumber and is 123789

I'd like to know how to configure CAS in order to get all the attributes from:
The goal is to query the other LDAP with the roomNumber i get after login to one LDAP.
So far i managed to get, for example, email attribute by adding into cas.properties
cas.authn.ldap[0].principalAttributeList=mail
But everything i can retrieve is correctly coming from the LDAP i'm successfully logging in.
I miss the part where i can tell CAS: "hey authentication was fine, now query the other LDAP with this roomNumber and give me the result please"

Reply all
Reply to author
Forward
0 new messages