• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get client NT ID from JSP

 
palanisamy subramani
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there anyway to get client machine's NT ID from JSP?

Have an internal application, i have to track the users of the Application using their Windows NT ID.

 
Hauke Ingmar Schmidt
Rancher
Posts: 436
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you think of NTLM authentication?
 
Ankit Tripathi
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Go through the link-
It should help you......
 
palanisamy subramani
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tried, but it works only in IE,that too if we use NTLM.
Looks like, Windows wont share NT username to any application unless it is local to the system.


Thanks a lot for helping in this..
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have tried, but it works only in IE,that too if we use NTLM.
Looks like, Windows wont share NT username to any application unless it is local to the system.

This is not true. If you use NTLM authentication (which is supported in many browsers, not just IE) you will have an authenticated subject that includes the NT name. You can never get the password. You should be aware that NTLM is not a very secure technology; as of Windows Vista Windows has disabled NTMLv1 by default. You might consider Kerberos and SPNEGO as a more secure option.

Easier than these options is to use LDAP and AD as your authentication repository, then you can just ask people for their credentials (SPNEGO can be a bit difficult to troubleshoot).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!