| View previous topic :: View next topic |
| Author |
Message |
leon Guest
|
Posted: Wed Jan 21, 2004 2:56 am Post subject: How to use NTLM AUthentication in IDHTTP |
|
|
I can not find any NTLM property in idhttp.ProxyParams.
but in idhttp.pas
{ Rev 1.4 10.7.2003 ? 20:57:00 DBondzhev
{ NTLM AUthentication is working wiht Proxy servers now
thanks!
|
|
| Back to top |
|
 |
leon Guest
|
Posted: Wed Jan 21, 2004 4:22 am Post subject: Re: How to use NTLM AUthentication in IDHTTP |
|
|
thanks!
but I still do not know which property in ProxyParams.Authentication I can use
just like
ProxyParams.Authentication.proxy domain := mydomain;
ProxyParams.Authentication.proxy username := leon;
ProxyParams.Authentication.proxy password:= leon;
plz give me example
thanks
"Remy Lebeau (TeamB)" <gambit47.no.spam (AT) no (DOT) spam.yahoo.com> wrote:
| Quote: |
"leon" <zhouleon (AT) citiz (DOT) net> wrote in message
news:400df87c$1 (AT) newsgroups (DOT) borland.com...
I can not find any NTLM property in idhttp.ProxyParams.
NTLM is handled via a separate TIdNTLMAuthentication or
TIdSSPINTLMAuthentication object instance that is assigned to the
ProxyParams.Authentication property, or specified via the
OnSelectProxyAuthorization event.
Gambit
|
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed Jan 21, 2004 5:18 am Post subject: Re: How to use NTLM AUthentication in IDHTTP |
|
|
"leon" <zhouleon (AT) citiz (DOT) net> wrote
| Quote: | I can not find any NTLM property in idhttp.ProxyParams.
|
NTLM is handled via a separate TIdNTLMAuthentication or
TIdSSPINTLMAuthentication object instance that is assigned to the
ProxyParams.Authentication property, or specified via the
OnSelectProxyAuthorization event.
Gambit
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed Jan 21, 2004 5:21 am Post subject: Re: How to use NTLM AUthentication in IDHTTP |
|
|
"Remy Lebeau (TeamB)" <gambit47.no.spam (AT) no (DOT) spam.yahoo.com> wrote
| Quote: | NTLM is handled via a separate TIdNTLMAuthentication or
TIdSSPINTLMAuthentication object instance that is assigned to the
ProxyParams.Authentication property, or specified via the
OnSelectProxyAuthorization event.
|
Also, if you simply add IdAuthenticationNTLM or IdAuthenticationSSPI to your
unit's 'uses' clause, then TIdHTTP can handle NTML automatically, triggering
the OnProxyAuthorization and OnAuthorization events if needed.
Gambit
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed Jan 21, 2004 5:38 am Post subject: Re: How to use NTLM AUthentication in IDHTTP |
|
|
"leon" <zhouleon (AT) citiz (DOT) net> wrote
| Quote: | but I still do not know which property in
ProxyParams.Authentication I can use
|
Have you read up yet on how NTML works in general? If not, you should, then
you can better understand what values you need to specify when
needed/requested.
Gambit
|
|
| Back to top |
|
 |
leon Guest
|
Posted: Sun Feb 01, 2004 6:29 am Post subject: Re: How to use NTLM AUthentication in IDHTTP |
|
|
in IdNTLMAuthentication
constructor TIdNTLMAuthentication.Create;
begin
inherited Create;
// Load Open SSL Library
if not IdSSLOpenSSLHeaders.Load then
begin
Unload;
Abort;
end;
end;
I do not know where to load 'Open SSL Library'
can you help me?
thanks.
"Remy Lebeau (TeamB)" <gambit47.no.spam (AT) no (DOT) spam.yahoo.com> wrote:
| Quote: |
"leon" <zhouleon (AT) citiz (DOT) net> wrote in message
news:400e0c8a$1 (AT) newsgroups (DOT) borland.com...
but I still do not know which property in
ProxyParams.Authentication I can use
Have you read up yet on how NTML works in general? If not, you should, then
you can better understand what values you need to specify when
needed/requested.
Gambit
|
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Sun Feb 01, 2004 8:04 am Post subject: Re: How to use NTLM AUthentication in IDHTTP |
|
|
"leon" <zhouleon (AT) citiz (DOT) net> wrote
| Quote: | I do not know where to load 'Open SSL Library'
|
It is not something you load yourself. Indy handles loading OpenSSL
automatically when needed. If it is failing for you, then you probably
don't have the OpenSSL libraries (libeay32.dll and ssleay32.dll) installed
on your machine to begin with. Please go to
http://www.indyproject.org/ssl.html for more information.
Gambit
|
|
| Back to top |
|
 |
|