title: Unexpected element '{urn:jboss:domain:keycloak:1.0}subsystem
body: <p>Happy New Year to all.
  I have a keycloak/wildfly question.  </p>
  
  <p>I am attempting to secure my war for WildFly 9.0.2.Final deployment.  I follow the directions in section 7.2.1 of <a href="http://docs.jboss.org/keycloak/docs/1.0.4.Final/userguide/pdf/keycloak-reference-guide-en-US.pdf" rel="nofollow">http://docs.jboss.org/keycloak/docs/1.0.4.Final/userguide/pdf/keycloak-reference-guide-en-US.pdf</a></p>
  
  <p>I get the error <strong>Unexpected element '{urn:jboss:domain:keycloak:1.0}subsystem</strong></p>
  
  <p>I have carefully followed each step as listed below.  </p>
  
  <ol>
  <li>cd $WILDFLY_HOME</li>
  <li>unzip keycloak-wildfly-adapter-dist.zip</li>
  <li><p>edit the standalone.xml and add the following:</p>
  
  <pre><code>&lt;server xmlns="urn:jboss:domain:1.4"&gt;
  &lt;extensions&gt;
  &lt;extension module="org.keycloak.keycloak-wildfly-subsystem"/&gt;
  ...
  &lt;/extensions&gt;
  &lt;profile&gt;
  
  &lt;subsystem xmlns="urn:jboss:domain:keycloak:1.0"/&gt;
  ...
  &lt;/profile&gt;
  </code></pre></li>
  <li><p>It is the line <strong>subsystem xmlns="urn:jboss:domain:keycloak:1.0</strong> that is flagged in the error.</p></li>
  </ol>
  
  <p>What am I missing?  Thank you in advance.</p>