• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

NT domain login and password

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i am trying to get the NT domain name and domain password of a user using an intranet application so that it can autologin the user after authentication. How do i get the NT domain name and password using java
Thanks
Damien
 
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is you're talking about having a "single sign-on" type feature whereby users just get automatically logged in to your app then that's a good question, and one that many people have asked in the past. Unfortunately, there isn't an easy solution since you basically have to build/simulate the NTLM authentication mechanism into the container. It's a strange double handshaking protocol that isn't particularly documented. I have seen some stuff on the internet about how it works, but I've never actually come across anybody that has implemented it.
Anybody else know of anything? Perhaps 3rd party products and/or libraries?
Simon
[ July 17, 2002: Message edited by: Simon Brown ]
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Java may not be capable of doing this. Try using C/C++ to do it.
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Signed applets can get you the user name.
using System.getProperty("user.name");
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic