title: How to properly configure WAS Liberty server.xml basicRegistry with MobileFirst Server and AdminCenter
body: <p>I'm trying to install the latest version of MobileFirst Server 7.1 onto WAS Liberty 8.5.5.9 and am having difficulty enabling login for the installed WARs.  This is a brand new installation.  adminCenter-1.0 was installed before installing MobileFirst Server.</p>
  
  <p><a href="http://www.ibm.com/support/knowledgecenter/SSHS8R_7.1.0/com.ibm.worklight.installconfig.doc/admin/t_troubleshooting_basicregistry_authentication_failure.html" rel="nofollow">This page</a> describes the root issue, but there appears to be something missing from the instructions.  The instructions as written don't make sense to me in that in one sentence it says to "move" content added by the installation process, but in another sentence in that same paragraph says to "delete" it from server.xml.</p>
  
  <p>As I've interpreted the instructions, I now have two basicRegistry elements with different ids as follows:</p>
  
  <pre><code>&lt;basicRegistry id="basic" realm="BasicRealm"&gt;
      &lt;user name="admin" password="adminpwd" /&gt;
  &lt;/basicRegistry&gt;
  
  &lt;!-- Declare the user registry for the Application Center. --&gt;
  &lt;basicRegistry id="applicationcenter-registry" realm="ApplicationCenter"&gt;
      &lt;!-- The users defined here are members of group "appcentergroup", thus have role "appcenteradmin", and can therefore perform administrative tasks through the Application Center console. --&gt;
      &lt;user name="appcenteradmin" password="admin"/&gt;
      &lt;user name="demo" password="demo"/&gt;
      &lt;group name="appcentergroup"&gt;
          &lt;member name="appcenteradmin"/&gt;
          &lt;member name="demo"/&gt;
      &lt;/group&gt;
  &lt;/basicRegistry&gt;
  </code></pre>
  
  <p>But what I don't see is how to tie the new applicationcenter-registry to the MobileFirst Application Center.  And sure enough, this configuration doesn't allow me to log into the WAS adminCenter, or the MobileFirst Application Center.  It also generates the message that you'd expect: </p>
  
  <blockquote>
    <p>There are multiple available UserRegistry implementation services; the system cannot determine which to use.</p>
  </blockquote>
  
  <p>What is the proper server.xml configuration that will allow me to log in to both of these applications?</p>
  
  <p>Thanks,
  John</p>