Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

active directory silent login

Status
Not open for further replies.

hyrogen

Programmer
Jul 10, 2003
60
GB
If a user is logged into their computer using active directory, is it then possible to automatically log them into a web based jsp site using their active directory details?

I've managed to get a login box appear and log them into their active directory account that way, but as they are already logged into their machine we dont want them to have to then login using the same details again.

Its really hard to find any information on this subject- any help is greatly appreciated.

Many Thanks!
 
Retrieve the credentials of the user and invoke the same code that the login box does.

Cheers,
Dian
 
how can i get hold of the credentials of the user though? obviously without them typing them in for a second time.
 
You can get the user name form system properties in System class, but you won't be able to retrieve the password.

Cheers,
Dian
 
hmmm... thanks for the advice- im not really sure how that helps though sorry. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top