title: How can I connect to SQL Server using integrated security with the JDBC driver?
body: <p>I'm trying to connect to my company's SQL server using Microsoft's JDBC driver for SQL Server 2005. This is what my connection string looks like:</p>
  
  <pre><code>jdbc:sqlserver://HOSTNAME;integratedSecurity=true;database=DATABASE;
  </code></pre>
  
  <p>To which the driver throws an exception:</p>
  
  <pre><code>Invalid integratedSecurity property value:true
  </code></pre>
  
  <p>Using "yes" instead gives a different error message that indicates "yes" is not a valid option for a boolean property.</p>
  
  <p>How do you connect using integrated security?</p>