CAS 5.2.3 & LDAP

30 views
Skip to first unread message

Ivan Green

unread,
Aug 11, 2021, 4:55:39 AM8/11/21
to CAS Community
Good afternoon!
 
I hope you can help me, I could not find an answer to this anywhere, I undertake to write an article for users on this issue if you help me.
 
I have CAS 5.2.3 and an LDAP connection.

LDAP has 1 domain and 2 ou (ou = groups, ou = people). Each group has a cn with the group name. Each such group contains several members, where the username from ou = people is specified.
 
My task is to get the groups of the user when it is authenticated in order to update them.
 
I just can't figure out how I can use CAS to get the groups of each user out of LDAP.
 
I hope very much for your help. Have a good day!
Message has been deleted

Ivan Green

unread,
Aug 11, 2021, 8:47:56 AM8/11/21
to CAS Community, Ivan Green
Снимок экрана 2021-08-11 153822.png
I need to pass the user (for example: "cn=MOrlova,ou=people,dc=domain,dc=ru") and get all the groupNames of which this user is a member (Preferably in an String[ ] ). The data structure is like this.
среда, 11 августа 2021 г. в 11:55:39 UTC+3, Ivan Green:
Reply all
Reply to author
Forward
0 new messages