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