Active
Project:
CAS Attributes
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2012 at 16:05 UTC
Updated:
25 Nov 2014 at 14:20 UTC
Jump to comment: Most recent
Comments
Comment #1
bkosborneI for one prefer having the functionality separate :). I think many people have no need to use any CAS/LDAP attributes for their SSO solution.
Comment #2
olarin commentedPerhaps it would make sense for it to become a sub-module of the CAS project in the D8 version?
Comment #3
yalet commentedI can see both sides of this. On the one hand, given that d8 CAS module is not (currently) using phpCAS as its protocol implementation, and instead using a native Drupal / GuzzleHttp implementation, in order for this to work at all, CAS module must be "attribute-aware" and parse out attributes during validation. This is already in place. So at some level, CAS module is already dealing with attributes.
On the other hand, CAS module doesn't do anything with them except offer them up as data when it dispatches its events. The event dispatching is really clean, so I don't think there's too much benefit to rolling the attributes to field mapping into the CAS module itself, as it will be implemented the same either way.
It comes down to project distribution, and I feel the same bkosborne does: there are people who use CAS who have no use for attribute mapping, so there's no reason for them to have code lying around that won't do anything.