Windows和表单身份验证在WCF中一起使用 [英] Windows and Forms Authentication together in WCF

查看:61
本文介绍了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


这篇关于Windows和表单身份验证在WCF中一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆