简体   繁体   English

如何强制.net WCF客户端在basicHttpBinding中使用NTLM?

[英]How to force a .net WCF client to use NTLM in an basicHttpBinding?

right now I have the security node defined like this: 现在我的安全节点定义如下:

<security mode="TransportCredentialOnly">
    <transport clientCredentialType="Windows" proxyCredentialType="None" realm="" />
    <message clientCredentialType="UserName" algorithmSuite="Default" />
</security>

Im getting the following error: 我收到以下错误:

The HTTP request is unauthorized with client authentication scheme 'Negotiate'. HTTP请求未经授权使用客户端身份验证方案“Negotiate”。 The authentication header received from the server was 'NTLM'. 从服务器收到的身份验证标头是“NTLM”。

clientCredentialType更改为“ Ntlm ”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用Claims针对basicHttpBinding WCF服务进行Ntlm身份验证 - Ntlm-authentication against basicHttpBinding WCF service, using Claims WCF在.net 4.0上使用basicHttpBinding / customBinding - WCF using basicHttpBinding /customBinding on .net 4.0 WCF首先尝试:如何使BasicHttpBinding工作(客户端和服务器在同一台计算机上) - WCF first try: How to make BasicHttpBinding work (client and server on same machine) 如何在basicHttpBinding中将SOAP WCF与网站结合 - how to combine SOAP WCF with website in basicHttpBinding 使用WCF Client和PHP WebService的BasicHttpBinding等效于CustomBinding - BasicHttpBinding equivalent CustomBinding using WCF Client and PHP WebService 如何在ASP.NET应用程序中使用WCF客户端? - How to use WCF client in ASP.NET application? 无法在wcf测试客户端中使用basicHttpbinding配置任何安全性 - unable to configure any security with basicHttpbinding in wcf test client WCF 中的 NTLM 身份验证调用 .net core API - NTLM authentication in WCF calling .net core API 从AS3向.NET WCF发送各种数据类型的数组(basicHttpBinding) - Sending an array of various data types from AS3 to .NET WCF (basicHttpBinding) 强制配置在wcf客户端c#中使用tls 1.0 - Force by config to use tls 1.0 in a wcf client c#
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM