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 <[email protected]> wrote:
> From: Tokajac <[email protected]>
> Subject: Case-insensitive JDBC Realm j_security_check
> To: [email protected]
> 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: [email protected]
> For additional commands, e-mail:
> [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]