Not sure what LDAP you are using. LDAP is case-sensitive. I think it's wrong to lowercase userid.
If it's OpenLDAP, you can simply add :caseExactmatch:, e.g. <param name="Attribute">uid:caseExactmatch:=%u</param> If your LDAP is backed up by a Kerberos which caused the case insensitive, you can search LDAP to get the case-sensitive userid from SearchResult after logged in successfully. Regards, Shi Yusen/Beijing Langhua Ltd. 在 2009-01-28三的 11:58 +0100,Pablo Millet写道: > As LDAP binding is not case-sensitive users can login with uppercase as > userid and run in to problems later on when navigating to other > case-sensitive CAS-clients. > > I use org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler as > authenticationhandler. > With CAS2 I solved it simply by doing toLowerCase on > TicketGrantingTicket creation. > > Question; > I need to convert userid's toLowerCase in CAS3. > Before I go ahead I'd like to ask you if you done this already and if > you have any recommendations or 'best practice' on where and how to do > the lower-case convertion? > Can I do this the "Spring" way somehow... any examples? > > Thanx > - Pablo > Running CAS 3.3 > > > _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
