title: Web App won't start after upgrading from 3.0.2 to 3.1.2
body: <p>I have a working 3.0.2 applicationContext-security.xml that uses a custom authenticator</p>
  
  <pre><code>&lt;global-method-security pre-post-annotations="disabled"&gt;
  
  &lt;/global-method-security&gt;
  
  &lt;http use-expressions="true"&gt;
  
      &lt;intercept-url pattern="/diagnostics/**" access="hasRole('ROLE_USER')" /&gt;
  
  
      &lt;form-login login-page="/genesis" default-target-url="/diagnostics/start-diagnostics"
        authentication-failure-url="/genesis?authfailed=true"
        authentication-success-handler-ref="customTargetUrlResolver"/&gt;
        &lt;access-denied-handler error-page="/genesis?notauthorized=true"/&gt;
  
       &lt;logout logout-success-url="/genesis"/&gt; 
      &lt;session-management session-authentication-error-url="/genesis"&gt; 
          &lt;concurrency-control max-sessions="1" expired-url="/genesis?sessionExpired=true"/&gt; 
      &lt;/session-management&gt;
  &lt;/http&gt;
  
  &lt;authentication-manager&gt;
  &lt;authentication-provider ref="genesisAuthenticator"&gt;
      &lt;jdbc-user-service data-source-ref="dataSource"/&gt;
  &lt;/authentication-provider&gt;
  &lt;/authentication-manager&gt;
  
  &lt;beans:bean id="genesisAuthenticator" class="com.blackbox.x.web.security.Authenticator"/&gt;
  &lt;beans:bean id="customTargetUrlResolver" class="com.blackbox.x.web.security.StartPageRouter"/&gt;   
  
  &lt;/beans:beans&gt;
  </code></pre>
  
  <p>After upgrading to 3.1.2 my application will not start and I get the error message</p>
  
  <p>"Configuration problem: authentication-provider element cannot have child elements when used with 'ref' attribute". I'm assuming that the problem lies with the</p>
  
  <pre><code>&lt;jdbc-user-service data-source-ref="dataSource"/&gt;
  </code></pre>
  
  <p>element where data-source-ref points to a definition in my application-context.xml file.</p>
  
  <pre><code>&lt;bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"&gt;
  &lt;property name="driverClassName" value="com.mysql.jdbc.Driver"/&gt;
  &lt;property name="url" value="jdbc:mysql://localhost:3306/genesis"/&gt;
  &lt;property name="username" value="dbuser"/&gt;
  &lt;property name="password" value="********"/&gt;
  </code></pre>
  
  <p></p>
  
  <p>What do I need to do to get this working. Dropping back to 3.0.2 is not really an option.</p>