title: Connect to MSSQL from Spring boot application using windows authentication
body: <p>I am currently using the below properties to connect to a remotely Mssql server from Java spring boot application:</p>
  
  <pre><code>spring.datasource.url=jdbc:sqlserver://ip\\domain;databaseName=name
  spring.datasource.username=abc
  spring.datasource.password=def
  spring.datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
  </code></pre>
  
  <p>The application runs from both windows and unix servers. I need now to start using the windows authentication instead of the db credentials. This is already configured and supported from MSSQL side. From Java spring boot this is not working. I tried to add to the url: integratedSecurity=true it said it cannot find a dll. I added sqljdbc_auth.dll to java jre bin folder and it didnt work. </p>