title: what's username/password of tomcat basic authentication?
body: <p>I've digged the internet for the guide about how to set tomcat authentication,and yes,it really has a pop-up window,which allows me to input username/password,but it seems that my username/password is wrong.
  I add fraction of my tomcat-user.xml here:</p>
  
  <pre><code>enter code here
  &lt;!--
    &lt;role rolename="tomcat"/&gt;
    &lt;role rolename="role1"/&gt;
    &lt;user username="tomcat" password="tomcat" roles="tomcat"/&gt;
    &lt;user username="both" password="tomcat" roles="tomcat,role1"/&gt;
    &lt;user username="role1" password="tomcat" roles="role1"/&gt;
  --&gt;
  </code></pre>
  
  <p>and fraction of web.xml here:</p>
  
  <pre><code>enter code here
  &lt;auth-constraint&gt;
    &lt;role-name&gt;tomcat&lt;/role-name&gt;
    &lt;role-name&gt;both&lt;/role-name&gt;
    &lt;role-name&gt;role1&lt;/role-name&gt;
  &lt;/auth-constraint&gt;
  </code></pre>
  
  <p>All these "tomcat/tomcat,both/tomcat,role1/tomcat" don't work.
  What's problem?</p>