Using names associated with CAS usernames
seth.vincent - May 4, 2009 - 22:23
| Project: | CAS |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi,
I'm wondering if it's possible to be able to pull the real name of a user that is associated with a cas username.
So, I can use the module to register with this type of login:
username: someonesname
password: thepassword
What I want is to be able to use the actual name that's associated with the username for display on the site.
So if the user name is someonesname, say, like johnsmith, the module would be able to display John Smith on the site.
How can this be done?

#1
Are you assuming that the user would be able to change their name in the drupal site, or alternatively are you talking about cas server providing it. The former is supported with a particular configuration. (Drupal is CAS user repository set to false).
I'd be willing to entertain a patch, but If that is the case, you're cas server must support providing extra parameters in the xml. I'm still trying to figure out if this is supported with the phpCAS client.
#2
I was hoping the cas server would supply the full name. What should I look to do first to make this happen?
#3
This is not really supported in phpCAS. We currently patch phpCAS for another application to do this. Also this isn't really supported in CAS2 in general. I believe CAS3 supports it.