rewrite attributes from ldap server

16 views
Skip to first unread message

jordi tomas

unread,
Sep 28, 2016, 7:55:23 AM9/28/16
to CAS Community
Hi,
I would like to know if is possible to rewrite attributes from ldap server. I use bean ldapAuthenticationHandler to get attributes from LDAP.

 <bean id="ldapAuthenticationHandler"
      class="org.jasig.cas.
authentication.LdapAuthenticationHandler" init-method="initialize"
      p:principalIdAttribute="uid"
      c:authenticator-ref="authenticator">
    <property name="principalAttributeMap">
        <map>
            <entry key="uid" value="uid" />
            <entry key="cn" value="cn" />
            <entry key="givenname" value="givenname" />
            <entry key="sn" value="sn" />
            .....
        </map>
    </property>
    </bean>
   
Is it possible to create new attribute, for example: test1 with values of givenname and sn ?

Thanks   
Reply all
Reply to author
Forward
0 new messages