Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Windows Authentication or SQL authentication for Spring JDBC connection

Abhishekshri Shrivastava
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am creating a JDBC connection to MY SQL server Database. DBA has made it windows authenticated.
It's a web application and need to be deployed on a remote server.
I know windows authentication is good because of AD account creation / deletion stuff. We delete the AD account and SQL server account gets deleted.

But I am worried about JDBC connection. It's to be deployed on remote server.
In case of windows authentication either from jdbc or jtds I get error and solutions(on many blogs) say to add a dll in my lib path.

Please suggest me Pros and Cons of both. Which authentication is suggested when a remote db connection is expected(apps is to be deployed on another server)?

Abhishek Shrivastava
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic