如何在wcf应用程序中创建没有Windows身份的自定义身份验证?

时间:2017-11-18 18:58:42

标签: c# wpf wcf windows-identity custom-authentication

我创建了类User巫婆实现iPrincipal并使用GenericIdentity,但是我无法在operationContext上设置我的User。我必须自己创建登录系统,它不是Web应用程序,所以我找不到任何解决方案。我试图制作CustomAutorizationPolicy,但问题在于它的功能评估,因为我没有我的用户,而不是那个,我有Windows身份......

0 个答案:

没有答案