Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

NT Authentication  RSS feed

shishir foo
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everybody
Is there any body who can help me out. am trying to get NT Domain name from java?How to get that?
my requirement is to get the user nmae of the logged user(User who had logged into the intranet with a specific domain). and on the basis of usename i should be able to get the domain name.i getting the user name successfully using
String nm = System.getProperties( but from this i can't get the domain name.
i ve tried using JAAS & also jdk1.4 but i am not able to get the same. It's giving me Unsatisfied Link Error.

Thanx & Regards,
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!