问题描述
我实现企业网站与asp.net MVC和想使用新的ASP.NET身份的框架。是否有可能ActiveDirectory中授权使用ASP.NET身份集成?任何样品怎么办呢?
I'm implementing corporate website with asp.net mvc and want to use new ASP.NET Identity framework.Is it possible to integrate ActiveDirectory authorization with ASP.NET Identity?Any samples how to do it?
推荐答案
是的,它有可能使用要求的验证。它集成到.NET 4.5,它被称为WIF现在前。您可以使用thinktecture是一个非常强大的身份验证提供它是如何将ADFS一个完整的例子。这里是一个链接吧。Thinktucture
Yes it's possible using a claim based authentication. It's integrated to .net 4.5 now before it was called WIF.You can use thinktecture is a very robust authentication provider it has a full example on how to integrate ADFS. Here is a link for it.Thinktucture
和这里是如何使用的MVC4应用程序做其他链接:
And here is another link on how to do it using An MVC4 app:
MVC 4和ADFS集成指南包括在这里也
这篇文章是野趣太(ADFS-MVC5): <一href="http://stackoverflow.com/questions/24374975/mvc5-web-app-using-adfs-on-$p$pmises-organizational-auth-and-visual-studio-2013-l">MVC5 Web应用使用ADFS开 - premises组织验证和Visual Studio 2013本地主机发展更新如果你不希望使用ADFS,你可以使用ActiveDirectoryMembershipProvider。它适用于Windows身份验证,这里是用它与表单验证的例子:http://www.schiffhauer.com/mvc-5-and-active-directory-authentication/
This post is intersting too (ADFS-MVC5): MVC5 Web app using ADFS On-Premises Organizational Auth and Visual Studio 2013 localhost developmentUPDATEIf you don't want to use ADFS you can use the ActiveDirectoryMembershipProvider. It works with Windows authentication and here is an example of using it with Forms authentication: http://www.schiffhauer.com/mvc-5-and-active-directory-authentication/
这篇关于使用的ActiveDirectory授权使用ASP.NET身份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!