How does the SQL Server JDBC Trusted Connection Authentication work?
问题 How does the SQL Server JDBC Trusted Connection Authentication work? (ie how does the trusted connection authenticate the logged in AD user in such a transparent and elegant fashion and how can I implement a similar authentication solution for my client-server applications in Java without a database connection or any use of the existing SQL Server solution.) Assumptions * Working within a Windows 2003 domain * You have access to the Windows API via JNI/JNA 回答1: It depends on the client. For