title: How to setup basic authentication in Websphere 8.5 console?
body: <p>How to setup basic authentication in Websphere 8.5 console?</p>
  
  <p>I've setup BASIC authentication on Tomcat.</p>
  
  <p>My WEB.XML looks like this -</p>
  
  <pre><code>&lt;security-constraint&gt;
      &lt;web-resource-collection&gt;
          &lt;web-resource-name&gt;My Manager&lt;/web-resource-name&gt;
          &lt;url-pattern&gt;/rest/LoginToPropManager&lt;/url-pattern&gt;
          &lt;http-method&gt;GET&lt;/http-method&gt;
      &lt;/web-resource-collection&gt;
      &lt;auth-constraint&gt;
          &lt;description&gt;Let only Administrator login&lt;/description&gt;
          &lt;role-name&gt;propertymanageradmin&lt;/role-name&gt;
      &lt;/auth-constraint&gt;
  &lt;/security-constraint&gt;
  
  &lt;security-role&gt;
     &lt;role-name&gt;propertymanageradmin&lt;/role-name&gt;
  &lt;/security-role&gt;
  
  &lt;login-config&gt;
    &lt;auth-method&gt;BASIC&lt;/auth-method&gt;
    &lt;realm-name&gt;Admin&lt;/realm-name&gt;
  &lt;/login-config&gt;
  </code></pre>
  
  <p>In Tomcat, I've the following configuration - </p>
  
  <pre><code>&lt;role rolename="propertymanageradmin"/&gt;
  &lt;user username="admin1234" password="XXXX" roles="propertymanageradmin"/&gt;
  </code></pre>
  
  <p>I am now trying to setup this on Websphere 8.5 and it is too confusing with a lot of screens. I do not find good articles on this. Can anyone please help?</p>