Attribute Aliases in CAS 4.x

9 views
Skip to first unread message

Adam Causey

unread,
Dec 13, 2016, 10:12:28 AM12/13/16
to cas-...@apereo.org
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
Reply all
Reply to author
Forward
0 new messages