对 .NET Core 1.0 应用程序中的 Active Directory 进行身份验证? [英] Authenticate against Active Directory in .NET Core 1.0 application?

查看:24
本文介绍了对 .NET Core 1.0 应用程序中的 Active Directory 进行身份验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

随着最近发布的 .NET Core 1.0,我们正在将 RC1 应用程序迁移到最终版本.我们似乎无法弄清楚的唯一部分是如何集成 Active Directory 身份验证.

With the recent release of .NET Core 1.0, we're in the process of migrating our RC1 applications to the final release. The only piece we can't seem to figure out is how to integrate Active Directory authentication.

以前在 RC1 应用程序中,我们使用 System.DirectoryServices.AccountManagement 库来处理 LDAP 授权查询.但是,我们不能再将此库与 .NET Core v1 混合使用.

Previously in the RC1 applications, we had used the System.DirectoryServices.AccountManagement library to handle the LDAP authorization queries. However, we can no longer mix this library with .NET Core v1.

一般来说,使用可在 .NET Core 框架中使用的库将 Active Directory 身份验证集成到我们的应用程序中的最佳方法是什么?IdentityServer、Auth0 之类的其他第三方服务还是其他什么?

Generally, what is the best way to integrate Active Directory authentication into our applications using the libraries available for use in the .NET Core framework? IdentityServer, some other third party service like Auth0 or something else?

推荐答案

Novell.LDAP 库已移植 到 .NET Core,您可以在 NuGet 中找到它.有许多可用的示例,包括验证密码示例.

The Novell.LDAP library has been ported to .NET Core you can find it in NuGet. There are numerous samples available, including a verify password sample.

这篇关于对 .NET Core 1.0 应用程序中的 Active Directory 进行身份验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆