Thread View: borland.public.cppbuilder.internet.socket
3 messages
3 total messages
Started by Alexandre Teixeira
Fri, 22 Jun 2007 14:15
Indy 10 IdHTTP authentication methods
Author: Alexandre Teixeira
Date: Fri, 22 Jun 2007 14:15
Date: Fri, 22 Jun 2007 14:15
7 lines
1263 bytes
1263 bytes
Hi, how can I set the authentication methods? The basic auth is the default and the only that is present to set, and I can access the url that require basic auth, but when the url requires Digest auth, I get error 401 unauthorized. Wouldn't be the authentication process choose the correct method automatically? Thanks.
Re: Indy 10 IdHTTP authentication methods
Author: Remy Lebeau (TeamB)
Date: Fri, 22 Jun 2007 17:36
Date: Fri, 22 Jun 2007 17:36
20 lines
1603 bytes
1603 bytes
"Alexandre Teixeira" <alexandre@directcall.com.br> wrote in message news:467bda1f@newsgroups.borland.com... > Hi, how can I set the authentication methods? There is nothing to set. Simply #include the header files for the desired IdAuthentication... units, such as IdAuthenticationDigest.hpp, into your code. > Wouldn't be the authentication process choose the correct > method automatically? It already does. But it can only choose from methods that are registered with Indy's Authentication framework. Each IdAuthentication... unit that you include registers its method automatically when the process is started. Gambit
Re: Indy 10 IdHTTP authentication methods
Author: Alexandre Teixeira
Date: Wed, 11 Jul 2007 20:54
Date: Wed, 11 Jul 2007 20:54
24 lines
1908 bytes
1908 bytes
Remy Lebeau (TeamB) escreveu: > "Alexandre Teixeira" <alexandre@directcall.com.br> wrote in message > news:467bda1f@newsgroups.borland.com... > >> Hi, how can I set the authentication methods? > > There is nothing to set. Simply #include the header files for the > desired IdAuthentication... units, such as IdAuthenticationDigest.hpp, > into your code. > >> Wouldn't be the authentication process choose the correct >> method automatically? > > It already does. But it can only choose from methods that are > registered with Indy's Authentication framework. Each > IdAuthentication... unit that you include registers its method > automatically when the process is started. > > > Gambit > > Hi, i included both auth types (digest and ntlm), but only the basic one works. do you have an example to do it, for proxy and request? thanks
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