Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is it possible to get the Windows logged-in user information (such as emails,telephones) from the Active Directory from a Java Web Application without having to log in?

I have managed to do the following:

1-Get the current logged-in windows user (with impersonate) (but cannot get the user information)
or
2-Login against the AD and get the user information.

It seems that is not possible (with the current AD configuration at least) to get the current logged-in user and all of it's information. Is it true?

Any help?
Posted

1 solution

 
Share this answer
 
v2
Comments
nuno_god 22-Oct-12 12:58pm    
Thank you Kuthuparakkal but this means that the password is needed so the user will always have to login. I was trying to avoid the login page, but after hours and days of research I found out that it is not possible in Java to do this. Only changing the Tomcat server and the browsers to accept single sign-on.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900