Case-insensitive username: is that possible?

In our application we use e-mail addresses as usernames. In e-mail protocols the e-mail address aren't case-sensitive. So we think that our users don't expect that there usernames are case-sensitive. But the default behaviour of the framework is to match usernames case-sensitive. Is there a way I can change that to case-insensitive?
1 answers

IANAJH* but what I would do is automatically convert all usernames to lowercase in the database, and then change the javascript login page to automatically convert the username to lowercase before sending the form to the XAS.

  • (I am not a javascript hax0r)