it depends on your login framework. Are you using a tomcat realm or have you rolled your own? If you are using a JDBC realm with a database, you could change the query to make the conversion, for instance.
Adam
On 10/14/2003 04:06 PM Mick Knutson wrote:
The issues is that I have seen the users that will be on my system. and they are already adding "TheUserFromOhio" as a username etc... Now I can always change everything to lower case when they register. But then I still have the issue about the login. And many of my users are Mac users, so I seem to have heaps of JavaScript issues.
--- Thanks Mick Knutson
The world is a playground...Play Hard, Play Smart. Visit http://www.YourSoS.com to learn how our "Personal Emergency Alert & Contact System" can help you Play Smart.
+00 1 (708) 570-2772 Fax MSN: mickknutson ICQ: 316498480 ICQ URL: http://wwp.icq.com/316498480
---
----- Original Message ----- From: "Adam Hardy" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 14, 2003 12:53 AM
Subject: Re: Urgent: username case insensitive for j_security_check?
On 10/14/2003 06:06 AM Mick Knutson wrote:
I guess I never thought about this, but all my usernames have not been
entered in a case insensitive fashion. I can easily enough fix this in the Action Class to make everything lowercase, but how do I do this with the j_security_check form?
I also need a solution that does not rely on JavaScript. Maybe I can use
a filter?
Hi Mick, a filter won't work. You won't be able to put anything between the browser submit and the container-managed authentication - it's completely tomcat and allows no programmatic interference. Can't you convert your user names with a script or something?
-- struts 1.1 + tomcat 5.0.12 + java 1.4.2 Linux 2.4.20 RH9
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

