• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Windows Authentication Using Java

 
Ajay Singh
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am using mssql authentication(username,password) to connect to the database in a remote location.Now i have a requirement that i need to use Windows impersonation to connect to the same database.In short Username for the Server machine is provided to connect, which can be used by anyone.Is this possible using java?If yes,kindly guide me.

Thanks
Ajay
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. Both Microsoft's own JDBC driver and jTDS support NTLM.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic