Using multiple WebSecurityConfigurerAdapter (basic auth for api and ldap for web app)
Using multiple WebSecurityConfigurerAdapter with different AuthenticationProviders (basic auth for API and LDAP for web app)