You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Unger Richard <ru...@camino.at> on 2002/09/26 12:38:56 UTC

[PATCH] catalina and jndi wrappers & more

This patch affects the
wrappers.catalina.SlideServerListener.java and
wrappers.jndi.SlideDirContext.java classes:

The SlideDirContext was not treating workspaces as collections since the
isCollection() method returned false for them because the resourcetype was
set differently.

The SlideServerListener now adds the DAV parameters from the Domain config
file to the static Domain, completing initialization.

I also include a .tgz file with a bunch of new classes for the
wrappers.catalina package. These classes do more or less what the
SlideHostConfig and WebdavHostConfig classes do, but at a context rather
than host level. In other words, while the HostConfig classes allow you to
configure a tomcat host to serve all namespaces from a domain, the new
classes allow you to configure a specific context to serve a specific
namespace. I find this very useful. 
In addition I have included my beginning implementation of a
SlideUserDatabase, a class that implements the tomcat UserDatabase interface
for the slide users. This code is not yet very far advanced, and not well
tested, although it works for authentication.
I include a sample tomcat server.xml file that shows how to use all this new
stuff.

Hope someone finds it useful!

Richie

 <<wrappers-fixes.diff>> 
 <<new-catalina-wrappers.tgz>>