title: Configure the auth-method of the web.xml externally to the EAR file
body: <p>Currently trying, without success, to configure the AUTH-METHOD element of the web.xml externally (through system properties loaded during JBoss 7.1.1 startup).</p>
  
  <p>I thought this would do the job : </p>
  
  <pre><code>&lt;login-config&gt;
      &lt;auth-method&gt;${prest_authMethod}&lt;/auth-method&gt;
      &lt;realm-name&gt;PREST Authentication&lt;/realm-name&gt;
  &lt;/login-config&gt;
  </code></pre>
  
  <p>But it crashes during deployment : </p>
  
  <pre><code>12:56:01,773 ERROR [org.apache.catalina.startup.ContextConfig] (MSC service thread 1-4) Cannot configure an authenticator for method ${prest_authMethod}
  </code></pre>
  
  <p>Is there a way to access system properties from web.xml ? Or any other way to configure the AUTH-METHOD with external configuration ?
  Thanks for any help.</p>