Configuring the authentication mode

You can configure the Microsoft SQL Server instance to which connected for either the Windows Authentication mode or the SQL Server and Windows Authentication mode, which is referred to as the “mixed mode”.
Prerequisites:
  • To use the Windows Integrated Authentication, you must configure the MS SQL Server instance to allow logins for Windows or Active Directory accounts or groups. For additional requirements for using Windows Authentication and Windows Integrated Authentication, refer to Microsoft SQL Server documentation.
  • Niagara rdb drivers are only supported for use on Supervisor and cannot be installed or used on a controller. Use of Windows Integrated Authentication is only supported for use on Supervisor running on Microsoft Windows operating systems.
Perform the following steps:
  1. Obtain the MS SQL Server Authentication Library for the version of the MS SQL Server JDBC driver that is distributed with the Niagara Framework.
  2. Copy the MS SQL Server JDBC Native Authentication Library to ${niagara_home}/jre/bin. Do not rename .dll, as the MS SQL Server JDBC driver will expect it to be named mssql-jdbc_auth-<version>.<arch>.dll
  3. Under Config > Drivers > RdbmsNetwork > SqlServerDatabase, to configure the rdbSqlServer device for the use of the Windows Authentication, remove the values of the User Name and Password properties, and add integratedSecurity=true; to the ExtraConnectionProperties property.
    Image
  4. On the rdbSqlServer device, select Actions > Ping to ensure that the authentication was successful.
    If the authentication succeeded, the Status property of the rdbSqlServer device displays {ok}.