Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 22-Oct-12 7:25am

1 solution

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

Solution 1

  Permalink  
v2
Comments
nuno_god at 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
0 OriginalGriff 7,903
1 Sergey Alexandrovich Kryukov 7,192
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,820


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 22 Oct 2012
Copyright © CodeProject, 1999-2014
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