edx/edx-platform — pull request #2948 by carsongee (2014-03-14 19:26:05+00:00)
Title: Adding ability to give an attribute callback for CAS

This allows you to specify a template module and function to get use attributes from CAS and add them to the django user models. Unfortunately CAS doesn't specify any one particular way to define attributes or what attributes are used like Shibboleth does, so the django-cas app requires a callable function to get things like the first name, email address etc. This PR creates the option to pass that function in with the json configs.

@sarina and @e0d since you looked at the last CAS change. I plan on having a PR to add these to edx/configuration with an update to the wiki page shortly too.