Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting current user login details to use in db connection  RSS feed

 
William Wild
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I currently working on replacing the embedded user name and password in my java code with the users current "Active Directory" domain session token.

Currently I can't work out how to pick up the current user session token from windows which I can then pass on to DB2 as the connection login details.

Has any one does this before, or knwo of any desent documentation on the subject?

Cheers
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!