本文介绍了包装默认的MS凭据提供程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用官方Microsoft下载中心的SampleWrapExistingCredentialProvider(http://www.microsoft.com/en-us/download/details.aspx ?ID = 5372)。 CSampleProvider工作正常,但不是CSampleCredential。我所能看到的仅仅是默认情景,而不是我期望来自CSampleCredential的

I'm using SampleWrapExistingCredentialProvider from Official Microsoft Download Center (http://www.microsoft.com/en-us/download/details.aspx?id=5372). CSampleProvider works fine, but not CSampleCredential. All I can see is just default scenarios instead of those that I expect from CSampleCredential.

似乎当CSampleProvider调用默认包装提供程序系统的方法时,使用默认凭据启动。我对吗?那么它是否意味着样本不起作用?

It seems like when CSampleProvider calls methods of default wrapped provider system starts using default Credential. Am I right? So does it mean that sample is not supposed to work?

Windows 7 x86

Windows 7 x86

Thx




推荐答案

密码凭证提供程序的类ID是更改,使用  CLSID_V1PasswordCredentialProvider而不是
的CLSID_PasswordCredentialProvider在QueryInterface调用中执行,该调用在CSampleProvider :: SetUsageScenario中执行

the class ID of the password credential provider was changed, use CLSID_V1PasswordCredentialProvider instead of CLSID_PasswordCredentialProvider in QueryInterface call which is perfomed in CSampleProvider::SetUsageScenario


这篇关于包装默认的MS凭据提供程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-23 09:11