title: Realm name in tomcat (web.xml)
body: <p>What is the realm-name in the tomcat.</p>
  
  <pre><code>&lt;login-config&gt; 
       &lt;auth-method&gt;BASIC&lt;/auth-method&gt; 
       &lt;realm-name&gt;&lt;/realm-name&gt; 
  &lt;/login-config&gt;
  </code></pre>
  
  <p>In the above code I have to fill the realm-name element. I have seen the following code in the server.xml file:</p>
  
  <pre><code>&lt;Realm className="org.apache.catalina.realm.UserDatabaseRealm" 
              resourceName="UserDatabase"/&gt;
  </code></pre>
  
  <p>Where is the realm-name specified? Is it the user name?</p>