Request for CAS integration.

CommentFileSizeAuthor
#2 cas.inc_.txt1.34 KBg011um
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

TimG1’s picture

Issue summary: View changes

Added token link to other issue.

Webbeh’s picture

See https://drupal.org/comment/8244725#comment-8244725 for a solution for this that uses Feeds and CAS.

g011um’s picture

Version: 7.x-1.0-beta5 » 7.x-2.2
Issue summary: View changes
Status: Active » Needs review
FileSize
1.34 KB

Using locations.inc as a template, I put this together. Should be placed in the supported folder as cas.inc.

It adds a "CAS username" value to the mapping dropdown, and uses the cas_user_update function from the CAS module to update the CAS username field.

I can't promise it's the best code I've written -- my last Drupal development was with Drupal 5.x -- but it seems to work in our Druapl 7 environment.

gisle’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Support for fields from contributed projects should be done by implementing hook_field_user_import_supported_alter() in the project that implements the field, not by adding bloat to this project.

It has been five years. Closing as outdated.