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

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/8f109fe5-ce44-4c4f-8571-bbe6ae2a2f56%40apereo.org.

Reply via email to