tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From firtzel <>
Subject Re: tomcat-users.xml user and role elements?
Date Wed, 06 Aug 2008 06:51:34 GMT

Trying to get things rolling here... does anyone have an answer to this one?

Thanks again,

firtzel wrote:
> 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
> 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:
Sent from the Tomcat - User mailing list archive at

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message