Connect to SQL Server from Linux via JDBC using integratedSecurity (Windows authentication)?

前端 未结 4 1812
情话喂你
情话喂你 2020-12-15 22:30

Hey I am having trouble connecting to an SQL Server with Java code that is running on Linux.

If I set integratedSecurity=true, then the java code fails

4条回答
  •  情书的邮戳
    2020-12-15 22:50

    Adding authenticationScheme=JavaKerberos works for me in Linux, but make sure to remove integratedSecurity=true since you are not using Windows.

提交回复
热议问题