Daniel is NOT having problems. I've seen his post twice already and
responded to it once.
The answer, if you are using IIS as the web server, you have to turn OFF
anonymous access. Then it will send the user's remote name.
-----Original Message-----
From: Tim O'Neil [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 12:30 PM
To: [EMAIL PROTECTED]
Subject: Determining NT login name
I'm posting for "Daniel A. Theobald" <[EMAIL PROTECTED]>
who seems to be having trouble posting to the list;
We are developing an intranet application to be deployed on a windows
network. One of the requirements is that the user should not be
required to login to the website, that their windows login should be
sufficient.
Does anyone know how to determine the windows username of the remote
user in a servlet? I know there is some way to do it using ASP, but I
would rather do this all in java if possible.
javax.servlet.http.HttpServletRequest.getRemoteUser always seems to
return null. I guess we will need to make some auto authentication or
something. Ideas?
thanks in advance,
theo
<Me again>
Wouldn't you need to use JNI to write some kind of
NT Domain Auth client? Or snarf some 3rd party product
that does this? I think I've seen some one come up with
a java-ntdomain bridge, but I forget who it was.