Article View: borland.public.cppbuilder.internet.socket
Article #442Re: TIdHTTP and Windows Authentication
From: Remy Lebeau (TeamB)
Date: Mon, 11 Feb 2008 17:51
Date: Mon, 11 Feb 2008 17:51
23 lines
1949 bytes
1949 bytes
"Aladin J." <j_aladin@hotmail.com> wrote in message news:47abc8cd@newsgroups.borland.com... > I try 2 things as followings but they don't work. To use an Authentication scheme with TIdHTTP, one of the following things must be done: 1) register the desired TIdAuthentication... classes via the RegisterAuthenticationMethod() function at program startup. This allows TIdHTTP to select auth schemes automatically. 2) use the OnSelectAuthorization event to create a suitable TIdAuthentication... object instance for one of the auth schemes that the server supports (provided in the AuthInfo parameter of the event handler) 3) if you know the exact auth scheme that the server will be using ahead of time, you can assign a suitable TIdAuthentication... object instance to the Request->Authentication property before sending a request. Gambit
Technical Details
Message-ID:
<47b08ae4$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<47ab27fc@newsgroups.borland.com> <47ab4352$1@newsgroups.borland.com> <47abc8cd@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,ecad3022b25c513d X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <47ab27fc@newsgroups.borland.com> <47ab4352$1@newsgroups.borland.com> <47abc8cd@newsgroups.borland.com> Subject: Re: TIdHTTP and Windows Authentication Date: Mon, 11 Feb 2008 09:51:02 -0800 Lines: 25 Organization: Lebeau Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 NNTP-Posting-Host: 207.178.157.90 Message-ID: <47b08ae4$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1202752228 207.178.157.90 (11 Feb 2008 09:50:28 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail