<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1944 How to configure Windows Authentication for SQL Server</title><link>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1944 How to configure Windows Authentication for SQL Server</title><link>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server</link><pubDate>Fri, 26 Jul 2019 18:08:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:610bd7a2-65ee-4ead-b461-bf5f7f094233</guid><dc:creator>Rebecca Jonas</dc:creator><comments>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server#comments</comments><description>Current Revision posted to Appian Knowledge Base by Rebecca Jonas on 7/26/2019 6:08:04 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;There are two types of authentication for SQL Server: SQL Authentication and Windows Authentication. Windows Authentication is sometimes referred to as Integrated Authentication.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Windows Authentication will use the same user who started the application server to log into SQL Server.&lt;/p&gt;
&lt;p&gt;SQL Authentication uses a plain text username and an encrypted password in tomcat-resources.xml to authenticate when connecting to SQL Server.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;This Knowledge Base article should be used for guidance on Appian configuration steps only. Additional information on configuring Windows Authentication should be discussed with Server Administration and Database Administration&amp;nbsp;teams.&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;To configure Windows Authentication:&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Remove the lines for username and password from &lt;strong&gt;tomcat-resources.xml.&lt;/strong&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Modify the URL to include &lt;code&gt;&amp;quot;integratedsecurity=true&amp;quot;&lt;/code&gt; like so:&amp;nbsp; &amp;nbsp;&lt;code&gt;url=&amp;quot;jdbc:sqlserver://&amp;lt;host_name&amp;gt;:1433;databaseName=&amp;lt;database_name&amp;gt;;integratedSecurity=true&amp;quot;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Add the SQL Server driver&amp;nbsp;&lt;strong&gt;sqljdbc42.jar&lt;/strong&gt; to&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\tomcat\apache-tomcat\lib\&lt;/code&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Add&amp;nbsp;&lt;strong&gt;sqljdbc_auth.dll&lt;/strong&gt; to&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\tomcat\apache-tomcat\bin\&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Start Tomcat.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 18.4 and later on Windows.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Windows authentication will not work on Linux because it uses the service account of the Windows user who started the application server to log into SQL Server.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: May 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: sql server, authentication, infrastructure&lt;/div&gt;
</description></item><item><title>KB-1944 How to configure Windows Authentication for SQL Server</title><link>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server/revision/8</link><pubDate>Fri, 24 May 2019 18:38:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:610bd7a2-65ee-4ead-b461-bf5f7f094233</guid><dc:creator>Rebecca Jonas</dc:creator><comments>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server#comments</comments><description>Revision 8 posted to Appian Knowledge Base by Rebecca Jonas on 5/24/2019 6:38:38 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;There are two types of authentication for SQL Server: SQL Authentication and Windows Authentication. Windows Authentication is sometimes referred to as Integrated Authentication.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Windows Authentication will use the same user who started the application server to log into SQL Server.&lt;/p&gt;
&lt;p&gt;SQL Authentication uses a plain text username and an encrypted password in tomcat-resources.xml to authenticate when connecting to SQL Server.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;This Knowledge Base article should be used for guidance on Appian configuration steps only. Additional information on configuring Windows Authentication should be discussed with Server Administration and Database Administration&amp;nbsp;teams.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;To configure Windows Authentication:&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Remove the lines for username and password from &lt;strong&gt;tomcat-resources.xml.&lt;/strong&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Modify the URL to include &lt;code&gt;&amp;quot;integratedsecurity=true&amp;quot;&lt;/code&gt; like so:&amp;nbsp; &amp;nbsp;&lt;code&gt;url=&amp;quot;jdbc:sqlserver://&amp;lt;host_name&amp;gt;:1433;databaseName=&amp;lt;database_name&amp;gt;;integratedSecurity=true&amp;quot;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Add the SQL Server driver&amp;nbsp;&lt;strong&gt;sqljdbc42.jar&lt;/strong&gt; to&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\tomcat\apache-tomcat\lib\&lt;/code&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Add&amp;nbsp;&lt;strong&gt;sqljdbc_auth.dll&lt;/strong&gt; to&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\tomcat\apache-tomcat\bin\&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Start Tomcat.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 18.4 and later on Windows.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: May 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: sql server, authentication, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT - KBXXXX How to configure Windows Authentication for SQL Server</title><link>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server/revision/7</link><pubDate>Thu, 23 May 2019 18:26:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:610bd7a2-65ee-4ead-b461-bf5f7f094233</guid><dc:creator>Rebecca Jonas</dc:creator><comments>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server#comments</comments><description>Revision 7 posted to Appian Knowledge Base by Rebecca Jonas on 5/23/2019 6:26:19 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;There are two types of authentication for SQL Server: SQL Authentication and Windows Authentication. Windows Authentication is sometimes referred to as Integrated Authentication.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Windows Authentication will use the same user who started the application server to log into SQL Server.&lt;/p&gt;
&lt;p&gt;SQL Authentication uses a plain text username and an encrypted password in tomcat-resources.xml to authenticate when connecting to SQL Server.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;This Knowledge Base article should be used for guidance on Appian configuration steps only. Additional information on configuring Windows Authentication should be discussed with Server Administration and Database Administration&amp;nbsp;teams.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;To configure Windows Authentication:&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Remove the lines for username and password from &lt;strong&gt;tomcat-resources.xml.&lt;/strong&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Modify the URL to include &lt;code&gt;&amp;quot;integratedsecurity=true&amp;quot;&lt;/code&gt; like so:&amp;nbsp; &amp;nbsp;&lt;code&gt;url=&amp;quot;jdbc:sqlserver://&amp;lt;host_name&amp;gt;:1433;databaseName=&amp;lt;database_name&amp;gt;;integratedSecurity=true&amp;quot;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Add the SQL Server driver&amp;nbsp;&lt;strong&gt;sqljdbc42.jar&lt;/strong&gt; to&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\tomcat\apache-tomcat\lib\&lt;/code&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Add&amp;nbsp;&lt;strong&gt;sqljdbc_auth.dll&lt;/strong&gt; to&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\tomcat\apache-tomcat\bin\&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Start Tomcat.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 18.4 and later on Windows.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: May 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: sql server, authentication, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT - KBXXXX How to configure Windows Authentication for SQL Server</title><link>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server/revision/6</link><pubDate>Thu, 23 May 2019 17:51:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:610bd7a2-65ee-4ead-b461-bf5f7f094233</guid><dc:creator>Greg Fox</dc:creator><comments>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server#comments</comments><description>Revision 6 posted to Appian Knowledge Base by Greg Fox on 5/23/2019 5:51:24 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;There are 2 types of authentication for SQL Server: SQL Authentication and Windows Authentication. Windows Authentication is sometimes referred to as Integrated Authentication.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Windows Authentication will use the same user who started the application server to log into SQL Server.&lt;/p&gt;
&lt;p&gt;SQL Authentication uses a plain text username and an encrypted password in tomcat-resources.xml to authenticate when connecting to SQL Server.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;This Knowledge Base article should be used for guidance on Appian configuration steps only. Additional information on configuring Windows Authentication should be discussed with Server Administration and Database Administration&amp;nbsp;teams.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;To configure Windows Authentication:&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Remove the lines for username and password from &lt;strong&gt;tomcat-resources.xml.&lt;/strong&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Modify the URL to include &lt;code&gt;&amp;quot;integratedsecurity=true&amp;quot;&lt;/code&gt; like so:&amp;nbsp; &amp;nbsp;&lt;code&gt;url=&amp;quot;jdbc:sqlserver://&amp;lt;host_name&amp;gt;:1433;databaseName=&amp;lt;database_name&amp;gt;;integratedSecurity=true&amp;quot;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Add the SQL Server driver&amp;nbsp;&lt;strong&gt;sqljdbc42.jar&lt;/strong&gt; to&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\tomcat\apache-tomcat\lib\&lt;/code&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Add&amp;nbsp;&lt;strong&gt;sqljdbc_auth.dll&lt;/strong&gt; to&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\tomcat\apache-tomcat\bin\&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Start Tomcat.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 18.4 and later on Windows.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: May 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: sql server, authentication, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT - KBXXXX How to configure Windows Authentication for SQL Server</title><link>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server/revision/5</link><pubDate>Wed, 22 May 2019 16:34:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:610bd7a2-65ee-4ead-b461-bf5f7f094233</guid><dc:creator>Greg Fox</dc:creator><comments>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Greg Fox on 5/22/2019 4:34:16 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;There are 2 types of authentication for SQL Server: SQL Authentication and Windows Authentication. Windows Authentication is sometimes referred to as Integrated Authentication.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Windows Authentication will use the same user who started the application server to log into SQL Server.&lt;/p&gt;
&lt;p&gt;SQL Authentication uses a plain text username and an encrypted password in tomcat-resources.xml to authenticate when connecting to SQL Server.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;This Knowledge Base article should be used for guidance purposes only. Additional information regarding the instructions in this article should be discussed with a Server Administration and Database Administration&amp;nbsp;teams.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;To configure Windows Authentication:&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Remove the lines for username and password from &lt;strong&gt;tomcat-resources.xml.&lt;/strong&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Modify the URL to include &lt;code&gt;&amp;quot;integratedsecurity=true&amp;quot;&lt;/code&gt; like so:&amp;nbsp; &amp;nbsp;&lt;code&gt;url=&amp;quot;jdbc:sqlserver://&amp;lt;host_name&amp;gt;:1433;databaseName=&amp;lt;database_name&amp;gt;;integratedSecurity=true&amp;quot;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Add the SQL Server driver&amp;nbsp;&lt;strong&gt;sqljdbc42.jar&lt;/strong&gt; to&amp;nbsp;&lt;code&gt;&amp;lt;Appian_Home&amp;gt;\tomcat\apache-tomcat\lib\&lt;/code&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Add&amp;nbsp;&lt;strong&gt;sqljdbc_auth.dll&lt;/strong&gt; to&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\tomcat\apache-tomcat\bin\&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Start Tomcat.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 18.4 and later.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: May 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: sql server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT - KBXXXX How to configure Windows Authentication for SQL Server</title><link>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server/revision/4</link><pubDate>Tue, 21 May 2019 19:39:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:610bd7a2-65ee-4ead-b461-bf5f7f094233</guid><dc:creator>Greg Fox</dc:creator><comments>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Greg Fox on 5/21/2019 7:39:54 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;There are 2 types of Authentication for SQL Server: SQL Authentication and Windows Authentication. Windows Authentication is sometimes referred to as Integrated Authentication.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Windows Authentication will use the same user who started Appian to log into SQL Server.&lt;/p&gt;
&lt;p&gt;SQL Authentication uses a plain text username and an encrypted password in tomcat-resources.xml to authenticate when connecting to SQL Server.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;To configure Windows Authentication:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) Remove the lines for username and password from &lt;strong&gt;tomcat-resources.xml.&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) Modify the URL to include &lt;code&gt;&amp;quot;integratedsecurity=true&amp;quot;&lt;/code&gt; like so:&amp;nbsp; &amp;nbsp;&lt;code&gt;url=&amp;quot;jdbc:sqlserver://&amp;lt;host_name&amp;gt;:1433;databaseName=&amp;lt;database_name&amp;gt;;integratedSecurity=true&amp;quot;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;3) Add the SQL Server driver&amp;nbsp;&lt;strong&gt;sqljdbc42.jar&lt;/strong&gt; to&amp;nbsp;&lt;code&gt;&amp;lt;Appian_Home&amp;gt;\tomcat\apache-tomcat\lib\&lt;/code&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4) Add&amp;nbsp;&lt;strong&gt;sqljdbc_auth.dll&lt;/strong&gt; to&amp;nbsp;&amp;lt;Appian_Home&amp;gt;\tomcat\apache-tomcat\bin\&lt;/p&gt;
&lt;p&gt;5) Start Tomcat.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;This article applies to Appian 18.4 and later.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: sql server, infrastructure&lt;/div&gt;
</description></item><item><title>INT - KBXXXX How to configure Windows Authentication for SQL Server</title><link>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server/revision/3</link><pubDate>Fri, 19 Apr 2019 21:27:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:610bd7a2-65ee-4ead-b461-bf5f7f094233</guid><dc:creator>Greg Fox</dc:creator><comments>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Greg Fox on 4/19/2019 9:27:18 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;There are 2 types of Authentication for SQL Server: SQL Authentication and Windows Authentication. Windows Authentication is sometimes referred to as Integrated Authentication.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Windows Authentication will use the same user who started Appian to log into SQL Server.&lt;/p&gt;
&lt;p&gt;SQL Authentication uses a plain text username and an encrypted password in tomcat-resources.xml to authenticate when connecting to SQL Server.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;To configure Windows Authentication:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) Remove the lines for username and password from &lt;strong&gt;tomcat-resources.xml.&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) Modify the URL to include &lt;code&gt;&amp;quot;integratedsecurity=true&amp;quot;&lt;/code&gt; like so:&amp;nbsp; &amp;nbsp;&lt;code&gt;url=&amp;quot;jdbc:sqlserver://&amp;lt;host_name&amp;gt;:1433;databaseName=&amp;lt;database_name&amp;gt;;integratedSecurity=true&amp;quot;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;3) Add the &lt;strong&gt;SQL Server driver&lt;/strong&gt; to &amp;lt;Appian_Home&amp;gt;\tomcat\apache-tomcat\lib\ ********* SQLJDBC42.jar? ? ? or driver Appian supplies.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4) Add&amp;nbsp;&lt;strong&gt;sqljdbc_auth.dll&lt;/strong&gt; to&amp;nbsp;&amp;lt;Appian_Home&amp;gt;\tomcat\apache-tomcat\bin\&lt;/p&gt;
&lt;p&gt;5) Start Tomcat.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;This article applies to Appian 18.4 and later.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: sql server, infrastructure&lt;/div&gt;
</description></item><item><title>Configuring Windows Authentication for SQL Server</title><link>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server/revision/2</link><pubDate>Mon, 15 Apr 2019 20:31:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:610bd7a2-65ee-4ead-b461-bf5f7f094233</guid><dc:creator>Greg Fox</dc:creator><comments>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Greg Fox on 4/15/2019 8:31:33 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;There are 2 types of Authentication for SQL Server: SQL Authentication and Windows Authentication. Windows Authentication is sometimes referred to as Integrated Authentication.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Windows Authentication will use the same user who started Appian to log into SQL Server.&lt;/p&gt;
&lt;p&gt;SQL Authentication uses a plain text username and an encrypted password in tomcat-resources.xml to authenticate when connecting to SQL Server.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;To configure Windows Authentication:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) Remove the lines for username and password from &lt;strong&gt;tomcat-resources.xml.&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) Modify the URL to include &lt;code&gt;&amp;quot;integratedsecurity=true&amp;quot;&lt;/code&gt; like so:&amp;nbsp; &amp;nbsp;&lt;code&gt;url=&amp;quot;jdbc:sqlserver://&amp;lt;host_name&amp;gt;:1433;databaseName=&amp;lt;database_name&amp;gt;;integratedSecurity=true&amp;quot;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;3) Start Tomcat.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;This article applies to Appian 18.4 and later* - need to check if this is possible on earlier versions and test those.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: sql server, infrastructure&lt;/div&gt;
</description></item><item><title>Configuring Windows Authentication for SQL Server</title><link>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server/revision/1</link><pubDate>Mon, 15 Apr 2019 20:18:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:610bd7a2-65ee-4ead-b461-bf5f7f094233</guid><dc:creator>Greg Fox</dc:creator><comments>https://community.appian.com/support/w/kb/1415/kb-1944-how-to-configure-windows-authentication-for-sql-server#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Greg Fox on 4/15/2019 8:18:26 PM&lt;br /&gt;
&lt;p&gt;There are 2 types of Authentication for SQL Server: SQL Authentication and Windows Authentication. Windows Authentication is sometimes referred to as Integrated Authentication.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Windows Authentication will use the same user who started Appian to log into SQL Server.&lt;/p&gt;
&lt;p&gt;SQL Authentication uses a plain text username and an encrypted password in tomcat-resources.xml to authenticate when connecting to SQL Server.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To configure Windows Authentication:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) Remove the lines for username and password from tomcat-resources.xml.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) Modify the URL to include &amp;quot;integratedsecurity=true&amp;quot; like so:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;url=&amp;quot;jdbc:sqlserver://&amp;lt;host_name&amp;gt;:1433;databaseName=&amp;lt;database_name&amp;gt;;integratedSecurity=true&amp;quot;&lt;/p&gt;
&lt;p&gt;3) Start Tomcat.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>