久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何在 ASP.NET MVC 上同時執(zhí)行 Azure Active Directory 單

How to do both Azure Active Directory Single Sign On and Forms Authentications on ASP.NET MVC(如何在 ASP.NET MVC 上同時執(zhí)行 Azure Active Directory 單點登錄和表單身份驗證)
本文介紹了如何在 ASP.NET MVC 上同時執(zhí)行 Azure Active Directory 單點登錄和表單身份驗證的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

限時送ChatGPT賬號..

我們有 MVC 4 開發(fā)的遺留系統(tǒng),使用 Web API 的表單身份驗證和基本身份驗證(目前還沒有 OWIN).

We have the legacy system developed by MVC 4 using Forms Authentication and Basic Authentication for Web API (there is no OWIN so far).

現(xiàn)在我們有很多客戶想要單點登錄到我們的系統(tǒng),所以我們使用 Azure Active Directory (AAD) 來存儲客戶的用戶.

Now we have lots of clients which want to do single sign on into our system, so we use Azure Active Directory (AAD) to store client's users.

現(xiàn)在的情況是我們要修改登錄工作流程以適應 AAD.登錄頁面沒有變化,在后臺,我們檢查用戶是否存在于我們的系統(tǒng)上(使用我們的數(shù)據(jù)庫),它允許用戶訪問.如果沒有,我們繼續(xù)在 AAD 上檢查用戶,在這種情況下我們不想重定向到 Azure 登錄頁面.

Now the situation is we want to revise the login workflow to adapt with AAD. The login page has no changes, under the hood, we check whether user exists on our system (using our database), it allows user to access. If not, we continue to check user on AAD, we don't want to re-direct to Azure login page in this case.

我已經(jīng)閱讀了大量內(nèi)容,但不太清楚如何做到這一點?我們還考慮升級到 MVC 5,以便在合適的情況下使用 OWIN 中間件身份驗證.

I have done tons of reading but have not much clear how to do this? We also consider to upgrade to MVC 5 in order to use OWIN middleware authentication if it's fine with situation.

推薦答案

一種可能的解決方案是使用 AAD 中應用程序庫中的自定義 SSO 應用程序.執(zhí)行此操作時,AAD 將解析 AAD 用戶用于登錄系統(tǒng)的表單.當已登錄 AAD 的用戶進入您的應用程序時,AAD 瀏覽器插件或應用程序會自動輸入用戶名和密碼.

One possible solution is to use Custom SSO applications from the Application gallery in AAD. When doing this, AAD will parse the form that the AAD users are using to login to the system. When a user that is already logged in to AAD enters your application, the AAD browser plugin or app will enter the username and password automatically.

有關此博客的更多信息:http://www.edutech.me.uk/microsoft/identity-and-access-management/active-directory/azure-ad-custom-saas-applications-for-any-3rd-party-service/

More information on this blog: http://www.edutech.me.uk/microsoft/identity-and-access-management/active-directory/azure-ad-custom-saas-applications-for-any-3rd-party-service/

這篇關于如何在 ASP.NET MVC 上同時執(zhí)行 Azure Active Directory 單點登錄和表單身份驗證的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權益,請聯(lián)系我們刪除處理,感謝您的支持!

相關文檔推薦

ASP.NET Core authenticating with Azure Active Directory and persisting custom Claims across requests(ASP.NET Core 使用 Azure Active Directory 進行身份驗證并跨請求保留自定義聲明)
ASP.NET Core 2.0 Web API Azure Ad v2 Token Authorization not working(ASP.NET Core 2.0 Web API Azure Ad v2 令牌授權不起作用)
How do I get Azure AD OAuth2 Access Token and Refresh token for Daemon or Server to C# ASP.NET Web API(如何獲取守護進程或服務器到 C# ASP.NET Web API 的 Azure AD OAuth2 訪問令牌和刷新令牌) - IT屋-程序員軟件開發(fā)技
Azure KeyVault Active Directory AcquireTokenAsync timeout when called asynchronously(異步調(diào)用時 Azure KeyVault Active Directory AcquireTokenAsync 超時)
Getting access token using email address and app password from oauth2/token(使用電子郵件地址和應用程序密碼從 oauth2/token 獲取訪問令牌)
New Azure AD application doesn#39;t work until updated through management portal(新的 Azure AD 應用程序在通過管理門戶更新之前無法運行)
主站蜘蛛池模板: 国产精品一区久久久 | 黄色一级大片在线免费看产 | 亚洲小说图片 | 免费在线观看一区二区三区 | 真人女人一级毛片免费播放 | 午夜免费网站 | 在线看片福利 | 99reav| 一区二区视频 | 草草网| 免费黄色大片 | 精品1区2区| 自拍偷拍小视频 | 狠狠操你 | 国产成人精品综合 | 欧美一区永久视频免费观看 | 偷拍第一页 | 国产精品视频一区二区三区四蜜臂 | 亚洲日韩中文字幕一区 | 91精品国产综合久久久亚洲 | 日韩一区二区三区四区五区六区 | 亚洲一级毛片 | 免费爱爱视频 | 日韩精品成人 | 我要看免费一级毛片 | 成人国产精品久久 | 日韩av一区在线观看 | 色综合一区二区 | 91极品欧美视频 | 中文字幕一区二区三区乱码在线 | 一级毛片视频免费观看 | 亚洲一区日韩 | 久久久久国产精品午夜一区 | 亚洲国产aⅴ成人精品无吗 亚洲精品久久久一区二区三区 | 精品福利一区二区三区 | 亚洲成人蜜桃 | 亚洲综合久久久 | 亚洲综合一区二区三区 | 在线免费看黄 | 国产情侣在线看 | 日韩电影在线一区 |