i havae problem java connection with sql server 2005 in windows authentication mode my code is as follows
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
Connection connection = DriverManager
.getConnection("jdbc:sqlserver://localhost:1433;database=dbName;integratedSecurity=true;");