Windows和表单身份验证在WCF中一起使用

问题描述:

大家好,



想要实现表单身份验证和Windows身份验证。

当用户想要使用表单登录时,我的应用程序应该使用表单身份验证,如果是Windows,那么Windows身份验证应该可以工作。

我将提供一个用于身份验证类型的单选按钮。

请一些人提供有关如何使用的信息实现此功能

Hi all,

Want to achieve forms authentication and windows authentication.
When user wants to login using forms then my application should work with forms authentication and if it is windows then windows authentication should work .
I will provide a radio button for the type of authentication.
Please some one provide information on how to achieve this functionality

阅读本文以了解您想要实现的目标以及如何完成的详细信息:IIS 7.0使用表单身份验证和Windows身份验证的两级身份验证 [ ^ ]

MSDN:在ASP.NET中混合表单和Windows安全性 [ ^ ]
Go through this article to understand the details of what you want to achieve and how it can be done: IIS 7.0 Two-Level Authentication with Forms Authentication and Windows Authentication[^]
MSDN: Mixing Forms and Windows Security in ASP.NET[^]


您好sandeep Mewara,

感谢您的信息,请分享任何允许的示例应用程序两种认证类型
Hi sandeep Mewara,
Thanks for the info can you please share any sample application which allows both type of authentications together