RE: tomcat 4.0: Plug in custom Realm

2001-10-25 Thread Barney Hamish
You'll notice in the realm file there is a line that gives the class of the JDBC Realm interceptor you're using. You should replace this class name with the name of whatever inteceptor you want to use. ie, change the line: className="org.apache.catalina.realm.JDBCRealm" to className="my.FooBarRea

Re: tomcat 4.0: Plug in custom Realm

2001-10-25 Thread Craig R. McClanahan
On Tue, 23 Oct 2001, Maneesha Jain wrote: > Date: Tue, 23 Oct 2001 17:39:37 -0700 > From: Maneesha Jain <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: tomcat 4.0: Plug in custom Realm > > Hi, > > I want to plug in a custom Realm class in server.xml in tomca

Re: tomcat 4.0: Plug in custom Realm

2001-10-25 Thread Dmitri Colebatch
sorry - I just realised that url doesn't actually contain info on writing your own. hopefully the second part of my email is still useful (o: cheers im On Thu, 25 Oct 2001, Dmitri Colebatch wrote: > yep, see http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html > for details on ho

Re: tomcat 4.0: Plug in custom Realm

2001-10-25 Thread Dmitri Colebatch
yep, see http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html for details on how to create one. Depending one what you need to do, it may be easier to subclass the JDBC realm and override the getStatement (? I think thats it) methods... hth dim On Tue, 23 Oct 2001, Maneesha Jain wro