Re "... when users come to your web site using IE (not Netscape), IE will
perform the login for the user without their intervention. ...":

Users will need to set the target site/url as in the browser's Intranet
zone, I believe.  Without this, a second credentials challenge appears.

Arnold Shore
Annapolis, MD USA

-----Original Message-----
From: Allan Kamau [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 5:18 AM
To: [EMAIL PROTECTED]
Subject: RE: Determining NT login name


Indeed I do think Randy's answer is most probably the
best solution to the problem stated below.

--- Randy Layman <[EMAIL PROTECTED]> wrote:
>
>       I believe what you need to do is to run Tomcat
> behind IIS.  Then, in
> IIS set the password to challenge/response and set
> the default domain to
> that of your users.  Now, when users come to your
> web site using IE (not
> Netscape), IE will perform the login for the user
> without their
> intervention.  From Tomcat you should now be able to
> grab their account with
> getRemoteUser.
>
>       The real key to this is getting IIS set up so that
> IE can/will
> automatically login the users in.
>
>       Randy
>
>
> > -----Original Message-----
> > From: Daniel A. Theobald [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 15, 2001 1:01 PM
> > To: [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> > Subject: Determining NT login name
> >
> >
> > 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
> >

Reply via email to