Hello to everybody :)

I spent last weeks on CAS (CAS 5.2), I'm trying to integrate my web app 
with SSO, using data from a LDAP server.

In few days I make it authentication work, adding some times and I get 
Authorization working too, by the way I faced up with this issue:

My web app is such a DMS, where a User can have more than one role, I spent 
last week to figure out how to return all the roles for a given User, if I 
make a direct ldapsearch on the server or via ssh from client I can easily 
get those roles, with CAS I can only retrieve the first role for a user 
based on alphabetic sorting

This is the response from the ldapSearch:

[image: ldapSearch.jpg]


This is the application.properties on Cas Server, using the same filter of 
the ldapsearch test example above:


[image: casSearchFilter.jpg]


This is the response from logging on Cas Server



[image: casResponse.jpg]



As you can see, CAS retrieve only the first role related to the user that 
have performed succesfull login, and I can't figure out, I think I miss 
something in application.properties that allow CAS to retrieve multiple CNs 
for a given user


Thanks in advance



Matt



-- 
You received this message because you are subscribed to the Google Groups "CAS 
Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-dev/c73a2b34-1847-4285-b988-0c5c26eedc66%40apereo.org.

Reply via email to