Are you sending back the values via SAML1, and are you retrieving them via
PersonDirectory? If so, it should handle this case fine.


On Wed, Nov 17, 2010 at 2:24 AM, Julien Cochennec <
[email protected]> wrote:

> Hi,
> I'm using a CAS server 3.1 and a phpCAS application that connects as Proxy.
> I need to retrieve from the cas Answer all the groups the user belongs to.
> I've read this documentation :
> https://wiki.jasig.org/display/CASUM/Attributes
> So far I can only retrieve one group for each user, and that's strange.
>
> For example, if I add a user to the group APP1_USERS and then add him to
> APP2_USERS, only the APP1_USER appears in the CAS answer.
> Every time only the first group it was added to appears, on the phpCAS list
> someone answered it was because of unique key/value pairs :
> Only one value can be associated to the key "memberof".
>
> So, Is there a way to retrieve all the groups from the CAS server response?
> Until now we do the following :
> 1) Connect to CAS to authenticate the user and retrieve the username
> 2) Connect to ldap and search for groups and roles entries tied to that
> username
>
> It works, but I would really like to make it simple with only one
> connection, I can't find a way to make many memberof attributes appear in
> the response.
>
> Thanks.
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to