简体   繁体   English

现有ASP.NET MVC应用程序中的ADFS实现

[英]ADFS implementation in existing asp.net mvc application

We have existing mvc application with episerver cms 10. That application performs well. 我们已经有了带有Episerver cms 10的mvc应用程序。该应用程序运行良好。 But we now have requirement to implement adfs in existing application. 但是我们现在需要在现有应用程序中实现adfs。 I checked different links on internet regarding this. 我为此检查了互联网上的其他链接。 I can see that it is straight forward for new application but can't find clear guide on how to implement it with existing application. 我可以看到它对于新的应用程序是直接的,但是找不到关于如何与现有应用程序一起实现的明确指南。 We have lot of existing users in website using sql server membership and ad authentication. 我们网站上有很多现有用户在使用sql服务器成员身份和广告身份验证。 How it will behave with ADFS? ADFS的行为如何? Please provide me correct guide and links for this? 请为此提供正确的指南和链接?

I'm guessing you want to continue to use both SQL users and AD users(?). 我猜您想继续使用SQL用户和AD用户(?)。

First migrate to AspNetIdentity as described here: https://world.episerver.com/blogs/K-Khan-/Dates/2017/10/migrate-from-sql-membership-to-asp-net-identity/ . 首先按照以下说明迁移到AspNetIdentity: https ://world.episerver.com/blogs/K-Khan-/Dates/2017/10/migrate-from-sql-membership-to-asp-net-identity/。

Then you can add authentication with ADFS as described here: https://hacksbyme.net/2017/05/07/single-sign-on-to-episerver-with-adfs-using-owin/ 然后,您可以按照以下说明使用ADFS添加身份验证: https : //hacksbyme.net/2017/05/07/single-sign-on-to-episerver-with-adfs-using-owin/

Finally add the possibility to login with both AD users, and local SQL users: https://hacksbyme.net/2017/05/11/mixed-mode-owin-authentication-for-episerver-editors/ 最后,添加使用AD用户和本地SQL用户登录的可能性: https : //hacksbyme.net/2017/05/11/mixed-mode-owin-authentication-for-episerver-editors/

ADFS will only authenticate against users in AD (or with LDAP in ADFS 4.0). ADFS仅针对AD(或ADFS 4.0中的LDAP)中的用户进行身份验证。

To integrate this into your application, you need a client side protocol stack. 要将其集成到您的应用程序中,您需要一个客户端协议栈。

If you are using ADFS 4.0 refer this and this . 如果您使用的是ADFS 4.0,请参考thisthis

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将ASP.NET Core MVC应用程序集成到现有的ASP.NET MVC应用程序中 - Integrate ASP.NET Core MVC Application to existing ASP.NET MVC Application ASP.NET MVC应用程序中的人员选取器控件实现 - People picker control implementation in asp.net mvc application 使用现有 ASP.NET MVC 应用程序进行 Google 登录 - Google Sign-in with existing ASP.NET MVC Application 更改现有Asp.Net MVC 5(身份2)应用程序的种子方法? - Change seed method for an existing Asp.Net MVC 5 (Identity 2) application? ADFS SSO匿名主页MVC 4 ASP.NET - ADFS SSO Anonymous Home Page MVC 4 ASP.NET 在ASP.net MVC应用中退出ADFS 3.0 - Signing out of ADFS 3.0 in ASP.net MVC app 使用ASP.NET MVC扩展现有的ASP.NET 1.1应用程序 - Expanding an existing ASP.NET 1.1 application using ASP.NET MVC 我可以将 ASP.NET Core MVC 添加到现有的 ASP.NET Web Z645024253191A381C36Z83CAE8 - Can I add ASP.NET Core MVC to existing ASP.NET Web Forms Application 使用 ADFS 授权对 ASP.NET Core 2.1 应用程序的请求 - Authorize requests to ASP.NET Core 2.1 application using ADFS 在 ASP.Net 应用程序上结合 ADFS 身份验证和 JWT Bearer - Combine ADFS Authentication and JWT Bearer on ASP.Net Application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM