BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to use NTLM AUthentication in IDHTTP

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
leon
Guest





PostPosted: Wed Jan 21, 2004 2:56 am    Post subject: How to use NTLM AUthentication in IDHTTP Reply with quote




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





PostPosted: Wed Jan 21, 2004 4:22 am    Post subject: Re: How to use NTLM AUthentication in IDHTTP Reply with quote




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





PostPosted: Wed Jan 21, 2004 5:18 am    Post subject: Re: How to use NTLM AUthentication in IDHTTP Reply with quote




"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





PostPosted: Wed Jan 21, 2004 5:21 am    Post subject: Re: How to use NTLM AUthentication in IDHTTP Reply with quote


"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





PostPosted: Wed Jan 21, 2004 5:38 am    Post subject: Re: How to use NTLM AUthentication in IDHTTP Reply with quote


"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





PostPosted: Sun Feb 01, 2004 6:29 am    Post subject: Re: How to use NTLM AUthentication in IDHTTP Reply with quote

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





PostPosted: Sun Feb 01, 2004 8:04 am    Post subject: Re: How to use NTLM AUthentication in IDHTTP Reply with quote


"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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.