Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

THTTPRIO and Username / Password

771 views
Skip to first unread message

Victor Cazacov

unread,
Sep 1, 2003, 9:46:16 AM9/1/03
to
How can I configure HTTPRIO component to send username/password to server ?

Server requires line like
Authorization: Basic cG9NdW46cGFzc3dcciW=
to be present in the header.

--
regards, Victor

Deepak Shenoy [TeamB]

unread,
Sep 1, 2003, 11:40:13 AM9/1/03
to
Victor Cazacov wrote:

Set HTTPRio.HTTPWebNode.UserName and .Password. Ensure your server is set
up for basic authentication.
--
Deepak Shenoy [TeamB]
Agni Software
http://www.agnisoft.com

Victor Cazacov

unread,
Sep 2, 2003, 3:18:13 AM9/2/03
to
Hello, Deepak !

>> How can I configure HTTPRIO component to send username/password to
>> server ?

DST> Set HTTPRio.HTTPWebNode.UserName and .Password. Ensure your server
DST> is set up for basic authentication.

Did you test it ?

I set UserName and password properties, but authorization line do not appear
in the http header, I can see it with tcpTrace. I think these properties are
proxy login/password and do not affect message header.

Server is configured properly, I can connect to it from my Java client
(tcpTrace shows me correct header with authorization line).

--
regards, Victor

Deepak Shenoy [TeamB]

unread,
Sep 2, 2003, 12:07:50 PM9/2/03
to
Victor Cazacov wrote:

> Did you test it ?

Yes, I removed "anonymous access" and I managed to get a basic
authentication going (I saw the "Basic:..." header)

> I set UserName and password properties, but authorization line do not
> appear in the http header, I can see it with tcpTrace. I think these
> properties are proxy login/password and do not affect message header.

Nope they're even there for regular web pages. This uses WinInet - you can
see in SOAPHTTP.pas (I think) where there's the InternetOpen and
InternetConnect calls.



> Server is configured properly, I can connect to it from my Java client
> (tcpTrace shows me correct header with authorization line).

Can you remove anonymous access? Btw, is the server IIS?

0 new messages