That's because the user has not been authenticated. Your original message
states that requirement.

> > URL, I want to get the use profile based on NT User
> name(Assuming that the user already authenticated by the NT domain).

>From the java docs for HttpServletRequest.getRemoteUser():

Returns the login of the user making this request, if the user has been
authenticated, or null if the user has not been authenticated. Whether the
user name is sent with each subsequent request depends on the browser and
type of authentication. Same as the value of the CGI variable REMOTE_USER.

Maybe I don't understand.

robert


> -----Original Message-----
> From: Ramu, Manjukumar [PRDUS] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 4:45 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Help!! Getting NT User
>
>
> Thanks for the reply! But it will not give the NT User information. It
> returns null.
>
> -Manju
>
> -----Original Message-----
> From: Robert Taylor [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 4:40 PM
> To: Struts Users Mailing List
> Subject: RE: Help!! Getting NT User
>
>
> HttpServletRequest.getRemoteUser() (I think)
>
> robert
>
> > -----Original Message-----
> > From: Ramu, Manjukumar [PRDUS] [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 29, 2003 4:15 PM
> > To: 'Struts Users Mailing List'
> > Subject: Help!! Getting NT User
> >
> >
> > Hello,
> >     Is there any easy way to get client's NT User from JSP/Servlet
> > without using JAAS? My requirement: Once the user access the application
> > URL, I want to get the use profile based on NT User
> name(Assuming that the
> > user already authenticated by the NT domain).
> >
> > Appreciate your help!!
> >
> > Thanks,
> > Manju
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to