Click here to Skip to main content
11,636,260 members (84,099 online)
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 6: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 jyo.net 333
1 OriginalGriff 283
2 Sergey Alexandrovich Kryukov 255
3 Suvendu Shekhar Giri 225
4 Mika Wendelius 204
0 OriginalGriff 8,941
1 Sergey Alexandrovich Kryukov 8,459
2 Mika Wendelius 6,849
3 F-ES Sitecore 2,364
4 Suvendu Shekhar Giri 2,320


Advertise | Privacy | Mobile
Web01 | 2.8.150728.1 | Last Updated 22 Oct 2012
Copyright © CodeProject, 1999-2015
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