I have to get the logged in user id of the client machine using jsp/servlet.
Let me explain my query briefly.
For displaying the user name in a portal,I need to track the window's logged in user id.
I hope there is some method namely System.getProperty("User.Name") ;
But this method pulls the server machine's logged in user id.I just want the logged in user id (Windows User id) of the client machine which is
making the request.
I am not supposed to use any of the authentication mechanisms (namely BASIC, Form Based etc..) .
Any help towards this query is greatly appreciated.
Both jsp and servlet has nothing to do in your situation because all they are executed on server side and you need information about client system. So a few google search provides something to think about.
2) Some further research claims that it is possible using ActiveX Object. But remember that browser threats ActiveX objects in a special way for security reasons. User or System default may disable ActiveX Objects, so they are not trustworthy in my opinion. But you may want to give a try :
http://searchdomino.techtarget.com/tip/0,289483,sid4_gci1212258,00.html
Hope this is not for something like single sign on.