You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jun Inamori <j-...@osa.att.ne.jp> on 2000/05/15 13:12:25 UTC
Patch for HttpRequestAdapter
Hi,
Patch for:
METHOD: public void setSocket(Socket socket) throws IOException
CLASS: org.apache.tomcat.service.http.HttpRequestAdapter
88a89,91
> //Start:Jun Inamori
> remoteUser=socket.getInetAddress().getHostAddress();
> //End:Jun Inamori
With this, 'remoteUser' is set.
--
Happy Java programming!
Jun Inamori
E-mail: j-office@osa.att.ne.jp
URL: http://www.oop-reserch.com
Re: Patch for HttpRequestAdapter
Posted by Jun Inamori <j-...@osa.att.ne.jp>.
Hi,
> > Patch for:
> > METHOD: public void setSocket(Socket socket) throws IOException
> > CLASS: org.apache.tomcat.service.http.HttpRequestAdapter
> >
> > 88a89,91
> > > //Start:Jun Inamori
> > > remoteUser=socket.getInetAddress().getHostAddress();
> > > //End:Jun Inamori
> >
> > With this, 'remoteUser' is set.
>
> ???
> Remote user should be the ( authenticated ) user name...
> Are you talking about "remoteHost" ?
Yes, sorry for my mistake.
So please ignore my previouse message.
--
Happy Java programming!
Jun Inamori
E-mail: j-office@osa.att.ne.jp
URL: http://www.oop-reserch.com
Re: Patch for HttpRequestAdapter
Posted by co...@costin.dnt.ro.
> Patch for:
> METHOD: public void setSocket(Socket socket) throws IOException
> CLASS: org.apache.tomcat.service.http.HttpRequestAdapter
>
> 88a89,91
> > //Start:Jun Inamori
> > remoteUser=socket.getInetAddress().getHostAddress();
> > //End:Jun Inamori
>
> With this, 'remoteUser' is set.
???
Remote user should be the ( authenticated ) user name...
Are you talking about "remoteHost" ?
Costin