Hi,

I looked at several tomcat configurations, and found that there are a couple
of things that do not "agree" with Tomcat's documentation (this is taken
from  http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html tomcat-5.5
realm how-to documentation ):

The users file (by default, conf/tomcat-users.xml must be an XML document,
with a root element <tomcat-users>. Nested inside the root element will be a
<user> element for each valid user, consisting of the following attributes:

    * name - Username this user must log on with.
    * password - Password this user must log on with (in clear text if the
digest attribute was not set on the <Realm> element, or digested
appropriately as described here otherwise).
    * roles - Comma-delimited list of the role names associated with this
user.

However, on several "real-world" tomcat-users.xml files, things don't go
according to plan:
1. <user> element sometimes has a 'username' attribute - is this identical
to 'name' attribute, or are there differences between these two?
2. Sometimes, not only <user> elements are nested inside the <tomcat-users>
element, but also a <role> element. Is there documentation of these
elements' structure (possible attributes, etc.) ?

Thanks,
Ophir

-- 
View this message in context: 
http://www.nabble.com/tomcat-users.xml-user-and-role-elements-tp18749937p18749937.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to