Yes. Place the file in $CATALINA_HOME/classes/yourpackage/YourClass.class (or
somewhere in the server classloader)
-Tim
Ilja Smoli wrote:
Hi
Question is: is it possible to extend org.apache.catalina.realm.JDBCRealm
and override method authenticate(String username, String credentials)?
And if it
Yes it is. You will have to change the name in server.xml file also to your
class name. Also the class/jar file should be placed in the common folder
since tomcat needs access to it.
Pandu
From: Ilja Smoli [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To:
I extended it and placed the class com.xxx.realm.classname in the
server/classes folder for Tomcat 4.1.24. It's working, but I don't use
any of the class methods in my application. And you need to name the
class in server.xml as Pandu states.
Host ...
Context...
Realm