更新时间:2022-04-18 10:31:51
在本质上是一个混合模式是一个窗体身份验证使用Windows身份验证入口点,一旦用户被传递它,正常的窗体身份验证流程进行的。
In essence a mixed mode is a forms authentication with a windows authentication entry point, once the user gets passed it, the normal forms authentication flow takes place.
Enabling Windows身份验证卡塔纳
卡塔纳目前不提供OWIN中间件Windows身份验证,因为这个功能在服务器上已有
因此,对于Windows身份验证工作,我不得不依靠所提供的主机之一,无论 IIS 或自主机( System.Net.HttpListener 的)
So for windows authentication to work, I have to rely on one of the provided hosts, either IIS or Self-host (System.Net.HttpListener).
我做了一个解决方案,这使得它的看起来像外部提供商,映射Windows标识的外部登录。
I made a solution that makes it look like an external provider, mapping windows identities as external logins.
来源$ C $ C:https://github.com/MohammadYounes/MVC5-MixedAuth
Source code : https://github.com/MohammadYounes/MVC5-MixedAuth