title: Spring security login point to MySQL database and other functionality should use SQL Server database
body: <p>In my project I want to make spring security login functionality to point to MySQL database and other functionality of my project is running in SQL server how can I make spring security login functionality to point to MySQL database.</p>
  
  <p>I created to data source namely :
  dataSource and dataSourceMySQL</p>
  
  <p>dataSource is pointing to SQL Server database and dataSourceMySQL is pointing to MySQL database. But I don't know how to go further. How can I achieve "to make spring security login functionality to point to MySQL database"?</p>