aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application/src
diff options
context:
space:
mode:
authorKoushik Dasgupta <koushikd@microsoft.com>2015-09-29 13:11:03 +0530
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-09-29 23:34:04 +0200
commit0c48fce81f4fa6ed32668417e1af1805b84d31ff (patch)
treee84afaed893c5210f2ceb5c4ce59ea5d6a3cce2c /sonar-application/src
parent271e2cde317eeee0b5a07bc74394958dc4f8370d (diff)
downloadsonarqube-0c48fce81f4fa6ed32668417e1af1805b84d31ff.tar.gz
sonarqube-0c48fce81f4fa6ed32668417e1af1805b84d31ff.zip
SONAR-6863 Support Integrated Authentication for SQL Server with SonarQube installed in Windows
Enabling Integrated Authentication for connecting to MS Sql Server. Default value for sonar.jdbc.username and sonar.jdbc.password have been removed.
Diffstat (limited to 'sonar-application/src')
-rw-r--r--sonar-application/src/main/assembly/conf/sonar.properties11
1 files changed, 9 insertions, 2 deletions
diff --git a/sonar-application/src/main/assembly/conf/sonar.properties b/sonar-application/src/main/assembly/conf/sonar.properties
index e9626756fff..850fe3bd7d4 100644
--- a/sonar-application/src/main/assembly/conf/sonar.properties
+++ b/sonar-application/src/main/assembly/conf/sonar.properties
@@ -11,8 +11,8 @@
# User credentials.
# Permissions to create tables, indices and triggers must be granted to JDBC user.
# The schema must be created first.
-#sonar.jdbc.username=sonar
-#sonar.jdbc.password=sonar
+#sonar.jdbc.username=
+#sonar.jdbc.password=
#----- Embedded Database (default)
# It does not accept connections from remote hosts, so the
@@ -44,6 +44,13 @@
#----- Microsoft SQLServer 2008/2012
# Collation must be case-sensitive (CS) and accent-sensitive (AS).
+#Use the following connection string if you want to use integrated security with MS Sql Server.
+#Do not set sonar.jdbc.username or sonar.jdbc.password property if you are using Integrated Auth
+#For Integrated Security to work, you have to download the MS SQL JDBC driver package from http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11774
+#and copy sqljdbc_auth.dll to your path. If you have to copy the 32 bit or 64 bit version of the dll depending upon the architecture of your server machine
+#sonar.jdbc.url=jdbc:sqlserver://localhost;databaseName=sonar;integratedSecurity=true
+
+#Use the following connection string if you want to use SQL Auth while connecting to MS Sql Server. Set the sonar.jdbc.username and sonar.jdbc.password appropriately
#sonar.jdbc.url=jdbc:sqlserver://localhost;databaseName=sonar