I have a doubt about how to get the NT Domain and user name of the user's local machine when acessing a J2EE Application. We need to call a WebService on a Filter every time a request is issued for this application, and two of the web service parameters are the NT domain and username the user is logged on his machine (not on the application itself, request.getRemoteUser() does not work here...). I have tried using JCifs but does not work here. Can you help me to find out how to get this information on the HTTP Headers, or in another place?
I would say, if JCIFS doesn't work then you are out of luck. Perhaps you could put some more effort into making it work?
Joined: Mar 13, 2008
Thanks for the reply Paul.
I will try harder to make it work. For now, it is asking me for username and password whenever i activate the NtlmHttpFilter, doesn't do it transparently. I could also try to figure out what custom mechanism could i develop. However, i don't know where to start. Should i try to extract this information from cookies, Http Headers? You see, i don't have a clue to where this information is being passed when the HTTP Request is made, if it is passed at all.
If you have some pointers to some documents or resources where i can better understand the availability of NT user data through HTTP with J2EE, i would be very grateful. If someone has been there before, please let me know...
Thanks a lot! Thiago [ March 17, 2008: Message edited by: Thiago Souza ]