🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
2 messages
2 total messages Started by David W Wed, 30 Jan 2008 16:32
TIdWebDav and Digest Authentication
#406
Author: David W
Date: Wed, 30 Jan 2008 16:32
14 lines
1770 bytes
I'm using digest authentication to put files onto a web server
using WebDav. I'm using TIdWebDAV supplied as part of the
the Indy 10 libraries and developing the application
using CodeGear C++ Builder.
When debugging the application I've found that within
TIdDigestAuthentication the Authentication function only gets
called for current step = 0. After this the DoNext function gets
called and populates the required variables. However although
although DoNext returns with 'wnDoRequest' after incrementing
the current step to 1, the Authentication function never gets called again. The call to WebDAV.put therefore fails. A test call in the code to the Authentication function proves that it will return the correct authentication string for current step = 1 if it ever got called again.
Anyone got any ideas?

David
Re: TIdWebDav and Digest Authentication
#410
Author: Remy Lebeau (TeamB)
Date: Wed, 30 Jan 2008 18:17
14 lines
1388 bytes
"David W" <davidw@gemstv.co.uk> wrote in message 
news:47a0b498$1@newsgroups.borland.com...

> When debugging the application I've found that within
> TIdDigestAuthentication the Authentication function only
> gets called for current step = 0.

The TIdAuthentication.Authenticate() method is called for each step of the 
authentication process.  If Authenticate() is not being called a second 
time, then the authorization process is not reaching that far.


Gambit 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads