本文介绍了在窗口服务的Kerberos身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对Kerberos身份验证新的,不知道这件事。我有服务器名称,用户名和密码已经准备好了。

I am new on kerberos authentication and don't know anything about it. I have the server name, username and password ready for it.

我需要验证从独立的Windows应用程序的用户。可有人请帮忙吗?

I need to authenticate users from stand alone windows application. Can somebody please help?

我没有找到谷歌搜索有很大帮助。

I did not find much help on googling.

感谢任何想法。

推荐答案

在的Kerberos您对用户名/密码认证,而是通过附加Kerberos令牌,你可以从CredentialsCache抢。

In Kerberos you authenticate not with pair username/password, but by attaching Kerberos token, which you can grab from CredentialsCache.

WebRequest WReq = WebRequest.Create (MyURI);
WReq.Credentials = CredentialCache.DefaultCredentials;



看:的

  • 什么出门客户端计算机(SSPI实现用于产生门票)

    • description of environment: https://msdn.microsoft.com/en-us/library/aa480562.aspx
    • what goes on a client computer (SSPI implementation is used to generate tickets) https://msdn.microsoft.com/en-us/library/aa480609.aspx

    这篇关于在窗口服务的Kerberos身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

    07-17 04:22
    查看更多