On Tuesday 25 January 2011, Konstantin Kolinko wrote: > 2011/1/25 David Goodenough <david.goodeno...@btconnect.com>: > > In the file tomcat-users.xml (at least the one shipped with the 6.0.23 > > Debian package) the sample users have the attribute username= in the > > user tag. But in the manager-howto.html (again shipped with the Debian > > package) the examples all say the attribute should be name=. Which is > > right? > > Either one works. > > o.a.c.users..MemoryUserCreationFactory#createObject(Attributes attributes): > > String username = attributes.getValue("username"); > if (username == null) { > username = attributes.getValue("name"); > } > > Best regards, > Konstantin Kolinko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org Might it not be an idea to document this in both the manager-howto and the sample config file?
Otherwise its just confusing. David --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org