创建SPNEGO有效载荷

问题描述:

我们有一个需要在BasicHttpBinding中实现SPNEGO的要求.我们可以在客户端/服务器端使用config在BasicHttpBinding中成功实现SPNEGO,也可以成功使用incode样式(不使用config).这两种方法都使用协商协议,我们也成功地将这两种方法与协商协议一起使用.

We have a requirement where we need to implement SPNEGO in BasicHttpBinding. We could successfully implement SPNEGO in BasicHttpBinding either using config on client/server side and also could successfully use incode style (without config). Both of these approaches uses Negotiation protocol and we are also successful in using both of these approaches with the Negotiation protocol.

对于某些现有的系统约束,该方法不适用于我们.我们正在研究如何避免协商协议,而是立即创建SPNEGO令牌并将其立即发送到服务器.这样可以避免两次往返.

For some existing system constraint this approach does not work for us. We are exploring on how to avoid the Negotiation protocol and instead create the SPNEGO token at once and send it over to sever at once. This will avoid two round trips.

有没有一种方法可以实现我们现在正在考虑的问题.像将SPNEGO令牌和第一个请求一起发送到启用SPNEGO的服务一样,这将避免往返?

Is there a way to implement we are thinking now. Like send SPNEGO token along with first request to SPNEGO enabled service which will avoid round trip?

Env详细信息:

.NET WCF 3.0

.NET WCF 3.0

Windows XP/2000 /2003

Windows XP/2000/2003

您好,

谢谢您的发帖!我建议您在( Windows > Windows论坛 > Windows XP论坛 > 程序)论坛位于: ( http://social.answers.microsoft.com/Forums/en-US/xpprograms/threads ).

Thank you for your post!  I would suggest creating a new thread for your question in the (Windows > Windows Forums > Windows XP Forums > Programs ) forum located here:  (http://social.answers.microsoft.com/Forums/en-US/xpprograms/threads).

希望会有所帮助.

祝你有美好的一天!

感谢&问候