Author: kkolinko Date: Wed Jun 11 13:35:31 2014 New Revision: 1601892 URL: http://svn.apache.org/r1601892 Log: CTR: docs. https://issues.apache.org/bugzilla/show_bug.cgi?id=56606 Update documentation for MemoryRealm to recommend the "username" attribute. It is partial backport of r1601886 from tomcat/trunk.
Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/realm.xml Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/realm.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/realm.xml?rev=1601892&r1=1601891&r2=1601892&view=diff ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/config/realm.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/config/realm.xml Wed Jun 11 13:35:31 2014 @@ -683,8 +683,10 @@ <li>Each <code><user></code> element must have the following attributes: <ul> - <li><strong>name</strong> - Username of this user (must be unique - within this file).</li> + <li><strong>username</strong> - Username of this user (must be unique + within this file).<br/> + For compatibility, it is allowed to use <strong>name</strong> as an + alternative name for this attribute.</li> <li><strong>password</strong> - Password of this user (in clear text).</li> <li><strong>roles</strong> - Comma-delimited list of the role names --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org