Yes, this is possible.  Override JDBCRealm.authenticate.

Details:

1. Class is org.apache.catalina.realm.JDBCRealm.
2. Override authenticate of 2 arguments.  I guess you would convert username 
and/or password to lowercase and call super.authenticate.
3. The jar file containing your class, or the class file itself should go into 
${catalina.home}/lib.
4. You will probably reference the new class in the Realm and Resource elements 
of context.xml or server.xml.


--- On Thu, 12/18/08, Tokajac <imre_to...@hotmail.com> wrote:

> From: Tokajac <imre_to...@hotmail.com>
> Subject: Case-insensitive JDBC Realm j_security_check
> To: users@tomcat.apache.org
> Date: Thursday, December 18, 2008, 6:37 AM
> Hello!
> 
> 
> Is it possible to adapt REALM authentication of Tomcat, so
> that Username and
> password become case insensitive?
> 
> 
> Regards
> -- 
> View this message in context:
> http://www.nabble.com/Case-insensitive-JDBC-Realm-j_security_check-tp21073984p21073984.html
> Sent from the Tomcat - User mailing list archive at
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail:
> users-h...@tomcat.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to