使用的ActiveDirectory授权使用ASP.NET身份 [英] Use ActiveDirectory authorization with ASP.NET Identity

查看:195
本文介绍了使用的ActiveDirectory授权使用ASP.NET身份的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我实现企业网站与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一个完整的例子。这里是一个链接吧。 <一href="https://github.com/thinktecture/Thinktecture.IdentityServer.v2/tree/master/samples/AdfsIntegrationFullSample">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:

<一个href="http://blogs.msdn.com/b/distributedservices/archive/2013/10/01/claims-aware-mvc4-app-using-wif-identity-and-access-tool-in-net-4-5.aspx">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身份验证,这里是用它与表单验证的例子:<一href="http://www.schiffhauer.com/mvc-5-and-active-directory-authentication/">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 development UPDATE If 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身份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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