I've read all the archived mail about authenticating users via Tomcat, but I'm still unable to make it work for Slide. I'm using Slide 1.0.15 beta with the bundled version of Tomcat.
The Tomcat manager app DOES authenticate correctly. Following suggestions from earlier emails, I've edited the following entry to the Tomcat conf/tomcat-users.xml file: <tomcat-users> <user name="root" password="root" roles="root,manager" /> </tomcat-users> http://localhost:8080/manager. However authentication doesn't work when I try to access Slide through either http://localhost:8081/slide or http://localhost:8082/slide. The browser challenges me for the username/password, but whatever I enter always results in a "401 - Unauthorized" error. I notice in the conf/server.xml file that the "Catalina" Engine declares a Tomcat MemoryRealm, whereas the Slide "WebDAV" and "Admin" Engines do not define a realm to use. Is this significant? I have edited conf/slide/slide.data to add the following: <objectnode classname="slideroles.basic.RootRoleImpl" uri="/users/root"> ... <revision> <property name="password" namespace="http://localhost:8081/slide/">root</property> </revision> </objectnode> I'm not sure if I have the syntax of the namespace correct here. The commented out example gave it as http://jakarta.apache.org/slide/. Attempting to authenticate http://localhost:8081/slide produces the following error messages in logs/webdav_log.xxx.txt: 2001-10-09 14:31:25 HostConfig[localhost8081]: HostConfig: Processing START 2001-10-09 14:31:25 HostConfig[localhost8081]: Deploying discovered web applications 2001-10-09 14:31:38 WebdavHost[localhost8081]: Mapping request URI '/slide' 2001-10-09 14:31:38 WebdavHost[localhost8081]: Trying the longest context path prefix 2001-10-09 14:31:38 WebdavHost[localhost8081]: Mapped to context '/slide' 2001-10-09 14:31:38 Slide realm[/slide]: User null doesn't have his password property set : can't authenticate logs/slide_domain.xxx.txt gives the familiar error: 09 Oct 2001 14:31:38 - org.apache.slide.common.Domain - WARNING - Access denied on /users by user /users/guest for action /actions/read So, to summarize, the Tomcat manager app authenticates correctly, and works fine - but the Slide apps don't authenticate. Any help would be greatly appreciated. Thanks in advance, Tim _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
