Article View: borland.public.cppbuilder.internet.socket
Article #951Re: Indy 10 IdHTTP authentication methods
From: 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
Technical Details
Message-ID:
<469543f2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<467bda1f@newsgroups.borland.com> <467c08d1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,30299f98d5fe08be X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 11 Jul 2007 17:54:12 -0300 From: Alexandre Teixeira <alexandre@directcall.com.br> User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Indy 10 IdHTTP authentication methods References: <467bda1f@newsgroups.borland.com> <467c08d1@newsgroups.borland.com> In-Reply-To: <467c08d1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 189.26.9.180 Message-ID: <469543f2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1184187378 189.26.9.180 (11 Jul 2007 13:56:18 -0700) Lines: 24 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail X-Original-Bytes: 1763