How can I use NTLM authentication in a Delphi SOAP Web Service client?

纵饮孤独 提交于 2019-12-18 04:27:07

问题


For a Microsoft CRM project, we need NTLM authentication in the Delphi 2009 web service client.

It looks like Indy 10 Tiburon already has experimental NTLM support.

How can I activate the NTLM authentication for the THTTPRio component and use the logon information (user name, password, domain) of the destination web service server?

Edit: it would also be helpful if there is a way to use other authentication methods than 'Basic', for example HTTP Digest access authentication.


回答1:


In the user name property of the WebNode subcomponent of the THTTPRio component, use the domain name followed by a backslash and the user name:

'domain\username'

After entering the WSDL URL at designtime, the HTTPRIO component will list available port and services.




回答2:


I'm not entirely sure I understand your question - activate NTLM authentication? If you're looking for NTLM API imports for Delphi, you can find those in the JEDI Windows Security Library on the JEDI API home page. If the plan is to see how to use it, I'd say MSDN is your friend.



来源:https://stackoverflow.com/questions/1068452/how-can-i-use-ntlm-authentication-in-a-delphi-soap-web-service-client

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!