ASP.NET MVC多(形式和窗口)授权模式 [英] ASP.NET MVC Multiple(forms and windows) authorization models

查看:146
本文介绍了ASP.NET MVC多(形式和窗口)授权模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建asp.net的MVC 4应用程序,其中为两鉴别。
其中之一是窗体身份验证和第二Windows验证由Active Directory用户登录。

I would like to create asp.net mvc 4 application where is two authentification. One would be forms auth and second windows auth by the Active Directory user login.

这是可能的,怎么样?

推荐答案

是的,你肯定可以使用多个.....

Yes, you most certainly can use multiple.....

首先设置你的web.config在windows窗体点
然后,您将通过与AD用户的集成测试的权威性,你可以使用SSO或没有它,但多个AUTH做是MVC 4等很多地方...

First setup your web.config to point at windows form You will then go through the testing of your integration with AD user auth you could have it with SSO or not, but multiple auth is done is many places with mvc 4 etc...

也是这里是另一个供应商的选择太

also here is another provider option too

<一个href=\"http://stackoverflow.com/questions/15842274/whats-difference-between-windows-and-forms-authentication-in-asp-net-mvc-4/15845541#15845541\">What's在asp.net mvc的窗口和窗体身份验证的区别4?

这篇关于ASP.NET MVC多(形式和窗口)授权模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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