IF your servlet is protected by authentication(the sort where the browser
pops up the user:password dialog), THEN getRemoteUser() will return the
supplied username.
This authentication is implemented by the web-server itself.

regards,
kishor

----- Original Message -----
From: PIYUSH NIGAM <[EMAIL PROTECTED]>

> In that case what does request.getRemoteUser() return
>
> Piyush Nigam
> [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: Danny Rubis [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, December 02, 2000 11:41 PM
> To: [EMAIL PROTECTED]
> Subject: Re: getting remote user NT login
>
>
> Hey!
>
> Check the archives of this
> http://archives.java.sun.com/archives/servlet-interest.html
> list.  It has been discussed before.
>
> Basically you *can not* get from here to there.
>
> Have them login-in.
>
> Sans adieu,
> Danny Rubis
>
> Jayesh Shah wrote:
>
> > Hi,
> >
> > I am trying to get the NT-login name of the remote user for my intranet
> > application in my Login servlet. I want to authenticate the user using
> their
> > NT logins in my application. For this I am using request.getRemoteUser()
> but
> > this returns me null. Can anybody help me..
> >
> > Thanx,
> >
> > Jayesh Shah
> > A C Software Inc
> >
> >
>
___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to