How can I initiate a SPNEGO negotiation in a C# .NET client once Kerberos token is obtained?

  • Thread starter Thread starter Hisham7G
  • Start date Start date
H

Hisham7G

Guest
Hi,

I am using SSPI to get Kerberos token. But the web service endpoint I'd like to use requires SPNEGO (Kerbreos AP-REQ, not the Kerberos token I just obtained from SSPI).


Is there a way to initiate SPNEGO negotiation from an Http client (e.g. by setting credentials to default) and expecting the Http library to build AP-REQ itself after receiving 401 from the web service?

Note: I have tested with a couple of Http classes and the SSPI library itself but in vain. If someone can narrow this down for me that'd be great.

Thanks,

Hisham

Continue reading...
 


Write your reply...
Back
Top