ASP.NET MVC Multiple(forms and windows) authorization models

不打扰是莪最后的温柔 提交于 2019-12-23 03:59:18

问题


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.

It's possible and how?


回答1:


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

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

What's difference between windows and forms authentication in asp.net mvc 4?



来源:https://stackoverflow.com/questions/19629194/asp-net-mvc-multipleforms-and-windows-authorization-models

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!