Click here to Skip to main content
13,002,133 members (80,265 online)
Rate this:
Please Sign up or sign in to vote.
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)
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 22-Oct-12 6:25am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170624.1 | Last Updated 22 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100