Comment forcer un client .NET WCF à utiliser NTLM dans un basicHttpBinding?
-
16-09-2019 - |
Question
en ce moment je le nœud de sécurité défini comme ceci:
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Windows" proxyCredentialType="None" realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
Im obtenir l'erreur suivante:
La requête HTTP est non autorisé avec le schéma d'authentification client « Negotiate ». L'en-tête d'authentification reçue du serveur était « NTLM ».
La solution
Changer votre clientCredentialType « Ntlm ».
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow