...
Eg. a user logs into AD as "jdoe" or "jdoe@ad.yourschool.edu", but said user has the email address "john.doe@yourschool.edu" (hosted at GMail), and this is set in the AD object "mail" attribute. (Note that you can use any LDAP attribute, as long as you map this LDAP attribute to the CAS Principal attribute called "EmailAddress"; see below.) Prerequisites
- Prerequisites:*
- functioning CAS 3.3 setup, with localization via the Maven overlay method, see Maintaining+local+customizations+using+Maven+2
- MS-AD authentication is function, see Active+Directory
- You can get LDAP attributes from AD (or any LDAP) into the CAS Princical (ie. the CAS user object )
You will need to map the AD "mail" attribute (or any other LDAP attribute you wish to use) to the CAS princical "EmailAddress" attribute, eg. in the mapping section of the Attributesarticle, use:
See See Attributes for more.Code Block xml xml <map> <entry key="mail" value="EmailAddress" /> </map>
In your Maven customization folder, here called cas-server-local/, create the following directory structure (if it doesn't already exist.)
...