active-directory - .net5 MVC6 应用程序上的 Active Directory/LDAP

标签 active-directory ldap asp.net-core asp.net-core-mvc

我正在尝试找到连接到 的解决方案LDAP/事件目录为了在 上检查用户身份验证.Net5 MVC6 Web应用程序。
我看到有一个名为 ADAL 的解决方案,但我希望能够在没有 Azure 的情况下使用它。
我正在寻找类似于 System.DirectoryServices 的解决方案(仅适用于 dnxcore50 的一种)。
有没有人能够让它工作?

最佳答案

您的问题的至少部分答案来自 How to use active Directory for ASP.Net 5 (MVC6) Intranet application

基本上使用“Windows 身份验证”(事件目录)以及 [Authorize]属性。

关于active-directory - .net5 MVC6 应用程序上的 Active Directory/LDAP,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34480485/

相关文章:

php - 如何在php中通过ldap获取事件目录的密码?

.net - 与 SearchRequest 相比,使用 DirectorySearcher 进行 LDAP 查询是否有任何性能优势

java - 添加使用到 ldap 时出错 [LDAP : error code 17 - javaSerializedData: attribute type undefined]

asp.net-core - ASP.NET Core 中的 AntiForgeryConfig.UniqueClaimTypeIdentifier

c# - Asp net Core 获取用户Windows用户名

azure - 自定义 Windows 凭据提供程序 Azure 广告

python - Python 和 Selenium : authenticate against Active Directory 的解决方法

php - 如何使用 php 识别 windows LDAP 和 linux LDAP?

c# - 为什么在增加用户时使用 IHttpClientFactory 会出现 .NET Core API 性能问题?

c# - .Net Core 库中的嵌入式资源