> I want to be able to login with either is this possible without implementing > some kind of customer converter?
This should be possible if you're using the BindLdapAuthenticationHandler. A brief review of how that auth handler works: 1. Look up the user DN with some search filter 2. Bind as that DN with supplied password You'll want to construct an LDAP search filter that can find the user DN based on either email or username. An example for Active Directory: <bean class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler"> <property name="filter" value="(|(sAMAccountName=%u)(mail=%u))" /> <property name="searchBase" value="ou=Users,dc=example,dc=com" /> <property name="contextSource" ref="activeDirectoryContextSource" /> </bean> M -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
