• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

How to get client NT ID from JSP

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Rancher
Posts: 436
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you think of NTLM authentication?
 
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Go through the link-
It should help you......
 
palanisamy subramani
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).
 
reply
    Bookmark Topic Watch Topic
  • New Topic