Re: JNDI resources available to auth realms?
On Wed, 5 Jan 2005 18:54:08 -0500, Andrew Jaquith [EMAIL PROTECTED] wrote: Greetings, A while back I did some patch work on the catalina.realm.JAASRealm class. I learned a lot in the process. Thanks for your patches -- I've been using them! In my JAAS LoginModule, I also tried to use JNDI resources, but gave it up for other reasons. I would be very interested in any headway that you make in this area. Also, it seems that JNDI *should* work from within the LoginModule since it's documented (by example) in the API docs: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/apache/catalina/realm/JAASRealm.html Speaking of the JAASRealm, I tried to get my LoginModule to load from my webapp's classpath, but with no success. So, what does the useContextClassLoader do, exactly? Thanks, Ian Flanigan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problems checking out Tomcat 5.0 from CVS
Hi all, I'm trying to checkout and compile the latest Tomcat 5.0 sources from CVS, but I seem to get the 5.5 sources instead. I used the following command to get the build.xml. $ wget http://jakarta.apache.org/tomcat/tomcat-5.0-doc/build.xml and use the following build.properties file: $ cat build.properties # - Proxy setup - # Uncomment if using a proxy server. #proxy.host=proxy.domain #proxy.port=8080 #proxy.use=on # - Default Base Path for Dependent Packages - # Replace this path with the directory path where # dependencies binaries should be downloaded. base.path=C:/Documents and Settings/flan/My Documents/Work/Personal/Tomcat/dependencies The build succeeds, but when I look at the CVS version of files that I *know* are different in 5.0 and 5.5, I find the 5.5 version. For example: $ cat jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/CVS/Entries /Authenticators.properties/1.1.1.1/Thu Jul 18 16:47:47 2002// /Bootstrap.java/1.21/Sat Aug 21 19:34:59 2004// /Catalina.java/1.35/Sat Oct 23 16:54:23 2004// [...] /HostConfig.java/1.52/Mon Jan 3 16:10:19 2005// [...] What is the best way to check out the 5.0 sources? Thanks, Ian Flanigan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems checking out Tomcat 5.0 from CVS
On Wed, 5 Jan 2005 14:10:31 -0800 (PST), Yoav Shapira [EMAIL PROTECTED] wrote: You need to use the TOMCAT_5_0 CVS tag when checking out. Okay, I know how to do that by hand, but is there a blessed way to do it with the build.xml file? I couldn't find a related property. Should I checkout all of the projects using the TOMCAT_5_0 branch, or only certain ones? How will this affect the shared dependencies? Thanks for your help, Ian Flanigan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems checking out Tomcat 5.0 from CVS
Thanks for your help. I was able to build the TOMCAT_5_0 branch with one change: Index: catalina/src/share/org/apache/catalina/realm/RealmBase.java === RCS file: /home/cvspublic/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/realm/RealmBase.java,v retrieving revision 1.33.2.3 diff -u -r1.33.2.3 RealmBase.java --- catalina/src/share/org/apache/catalina/realm/RealmBase.java 9 Dec 2004 13:52:59 - 1.33.2.3 +++ catalina/src/share/org/apache/catalina/realm/RealmBase.java 5 Jan 2005 23:34:52 - @@ -1094,7 +1094,7 @@ byte[] digest = null; // Bugzilla 32137 -synchornized(md5Helper) { +synchronized(md5Helper) { digest = md5Helper.digest(valueBytes); } This seems to be just a small syntax error. Thanks again, Ian Flanigan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]