title: Pentaho more authentication providers
body: <p>I need to develop two custom authentication providers able to handle 2 main use case:</p>
  
  <ul>
  <li><p>login via username and password form authentication</p></li>
  <li><p>authentication via token</p></li>
  </ul>
  
  <p>I ve developed my CustomFormAuthProvider and CustomTokenAuthProvider.</p>
  
  <p>Inside Pentaho appContext-spring-security.xml i  have declared both providers beans with </p>
  
  <pre><code>providername=custom 
  </code></pre>
  
  <p>and consequently i have set the corresponding property (in security.properties) to "custom".</p>
  
  <p>When i startup pentaho i can see that AccessManager object loads just one provider of the two... So it catches an error when i use one of the two authentication method.</p>
  
  <p>Is there a way to load both providers in the provider list, the way that the access manager can load the correct one which supports the current token type?</p>
  
  <p>Thanks</p>