I need to setup a couple of aliases for some attributes in my CAS 4.2.7 installation. For instance, I want to read in the uid from our LDAP system and have the value mapped to uid, username, and eID (our University's ID).
Is this possible with the standard XML configuration?
This is my LdapAuthenticationHandler setup:
<bean id="ldapAuthenticationHandler" class="org.jasig.cas.authentication.LdapAuthenticationHandler" c:authenticator-ref="authenticator">
<property name="principalAttributeMap">
<map>
<entry key="uid" value="uid" />
<entry key="displayName" value="displayName" />
<entry key="mail" value="mail" />
<entry key="groupMembership" value="groupMembership" />
<entry key="sn" value="sn" />
<entry key="givenName" value="givenName" />
</map>
</property>
</bean>
Thank you,
Adam