Hello,
I am
new to Tomcat, and am currently having some problems running it
with Slide. Running Tomcat 3.2.1 and
Slide m8 I've now been able to get the authorization box to pop up when I
access my local http://localhost:8080/slide URL. Unfortunately, I cannot seem to
login correctly.
I have added the users "root" and "john" to the system to
correspond to the users noted in Slide's "Domain.xml." (I think that is
what I am supposed to do.) And I have changed my "tomcat-users.xml"
to look like this...
<tomcat-users>
<user name="tomcat" password="tomcat" roles="tomcat,john,root" /> <user name="role1" password="tomcat" roles="role1" /> <user name="both" password="tomcat" roles="tomcat,role1" />
<user name="root" password="root"
roles="tomcat,role1"
/>
<user name="john" password="john" roles="tomcat,role1" /> </tomcat-users> The
"Domain.xml" I have not edited at all, it is the standard one that comes with
Slide. It has sections that look like this, which I'm not sure you are familiar
with...
<objectnode classname="slideroles.basic.RootRoleImpl"
uri="/users/root">
<revision>
<property name="password">root</property>
</revision>
</objectnode>
<objectnode classname="slideroles.basic.RootRoleImpl" uri="/users/john">
<revision>
<property name="password">john</property>
</revision>
</objectnode>
After restarting the Tomcat server, I still cannot login as anybody
except tomcat/tomcat. All other logins fail to work, even the basic
role1/tomcat and both/tomcat that come with the system. And when I do log
in as tomcat/tomcat, it tells me I am not allowed to view the
page.
"15 Mar 2001 14:30:30 - WARNING - Access denied on / by user tomcat for action
/actions/read"
I can log into the examples page with
any of the three standard ones that are in Tomcat-users.xml, but none of
the others (i.e john, root)
I
would like to be able to log in as john or root. I would also like to be
able to see the URL once I log in. Could you tell me what I am missing
here?, or what else I need to do to get this stuff working?
Thanks
very much for you help,
Tom |
Title: Re: Authentication Problems