Pablo, The easiest method I have found is to create a custom Spring Web Flow action that will override the username set in the UsernamePasswordCredentials object. If you examine the AuthenticationViaFormAction class, you will see some code that fetches this object via the getFormObject() method. From there, it is as simple as lowercasing it and possibly trimming it.
HTH, A- On 1/28/09 4:58 AM, "Pablo Millet" <[email protected]> wrote: > > 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 > > -- Andrew Feller, Analyst LSU University Information Services 200 Frey Computing Services Center Baton Rouge, LA 70803 Office: 225.578.3737 Fax: 225.578.6400 _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
