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

Reply via email to