Posted by acrollet on April 7, 2009 at 8:01pm
Jump to:
| Project: | Shibboleth authentication |
| Version: | 6.x-3.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
Hi there,
we have a need to map attributes the iDP is sending (first and last name, among possible others) to user profile fields. Are there any plans to provide this functionality? If not, would you accept a patch? If so, would you prefer it as a separate module (like the ldap auth modules are setup) or in the main module?
thanks very much,
Adrian
Comments
#1
Dear Adrian!
Unfortunately the shib_auth module is unable to do such a mapping. An other, extension module may could provide such a feature, but this module is just trying to focus the security, authentication and authorization. We do not plan to support such a feature :-(
Cheers,
Ivan
#2
I need this too ! But I hope we can do it while reviewing in deep that module !
#3
I need this functionality as well, and am probably going to code a module for it as part of a current project.
I'd like to follow the model that LDAP module follows where it has a sub module of LDAP data which does the mapping of the variables to user profile fields. I'll probably draw heavily from that code.
However, the question is, when the module is ready does it become a sub module of shib_auth or will people have to seek it out separately?
#4
According to Ivan it would be a separate module, but I don't know shib enough to say if it's even possible. Anyway good news we can work together Anarchman :)
#5
Have you got any code yet guix?
#6
Why can't I read the $_SERVER values coming from shibboleth using hooks? How can I read the shibboeth headers using hooks in drupal? I need information from the shibboleth headers in the hook_user during login to do a database lookup for eligibility.
Thanks!
#7
You can just use $_SERVER values directly in hook_user, that is what I do. I've actually got a module coded, so I'm probably going to create a project for it. It's a piece of junk module at the moment though so going to take a lot of work, hopefully putting it on d.o. will help.