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