Have you tried to follow the steps at the official CAS documentation at https://wiki.jasig.org/display/CASUM/Attributes ?
-Misagh From: [email protected] [mailto:[email protected]] On Behalf Of Aldo Nievas Sent: Friday, May 18, 2012 1:28 PM To: [email protected] Subject: [cas-user] Getting more attributes from CAS than just user id Hi guys. I'm trying to get more attributes from CAS after authentication but with no luck so far. I have followed this post http://stackoverflow.com/questions/4882298/getting-more-attributes-from-ca s-than-just-user-id and adapted my files this way: https://gist.github.com/2727416 but what I have is always: Request contains ticket "ST-1-dc5ge5EDQcJprMgg3dfW-cas". Guessed service url: "http://localhost:3000/my_portfolio" Requesting CAS response for URI http://localhost:8080/cas/proxyValidate?service=http%3A%2F%2Flocalhost%3A3 000%2Fmy_portfolio <http://localhost:8080/cas/proxyValidate?service=http%3A%2F%2Flocalhost%3A 3000%2Fmy_portfolio&ticket=ST-1-dc5ge5EDQcJprMgg3dfW-cas> &ticket=ST-1-dc5ge5EDQcJprMgg3dfW-cas CAS server responded with #<Net::HTTPOK 200 OK readbody=true>: <cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'> <cas:authenticationSuccess> <cas:user>[email protected]</cas:user> </cas:authenticationSuccess> </cas:serviceResponse> Ticket "ST-1-dc5ge5EDQcJprMgg3dfW-cas" for service "http://localhost:3000/my_portfolio" belonging to user "[email protected]" is VALID. Extra user attributes provided along with ticket "ST-1-dc5ge5EDQcJprMgg3dfW-cas": {"name"=>"Aldo"}. Any help could be appreciate it. -- Aldo Nievas SATIO Web Development [email protected] M: 54 11 3487 4900 -- 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
