简体   繁体   English

用户身份框架asp.net身份和LDAP

[英]User Identity Framework asp.net Identity and LDAP

Currently, my boss as me to create a user identity system for Individual Account under .NET platform. 目前,我的老板作为我为.NET平台下的个人帐户创建用户身份系统。 At the beginning, I prefer to use ASP.net Identity framework, but my boss advise LDAP. 一开始,我更喜欢使用ASP.net Identity框架,但我的老板建议使用LDAP。 I am not sure which one is better or not. 我不确定哪个更好。

Below is basic requirement. 以下是基本要求。

  1. support millions of users 支持数百万用户
  2. support different Groups of user (eg we have 3 different groups, General Practice, Public clients, staff) 支持不同的用户组(例如,我们有3个不同的组,通用,公共客户,工作人员)
  3. Email Verified for registration. 电子邮件已验证可注册。
  4. External Login such as facebook. 外部登录,例如facebook。

Can you let me know which one is better? 你能告诉我哪个更好吗?

Due to your requirements Asp.Net Identity is the way to go. 根据您的要求,Asp.Net Identity是必经之路。 It provides all as built-in. 它提供所有内置功能。 Plus it's more flexible and new technology. 加上它更加灵活和新技术。

I think about why your boss advice LDAP. 我想一想为什么您的老板建议使用LDAP。 To me, only reason can be to use only one username and password in company and it's Domain User Account (Active Directory). 对我来说,唯一的原因是只能在公司中使用一个用户名和密码,即域用户帐户(Active Directory)。

If so i am in a similar situation. 如果是这样,我处于类似情况。 I think to use both of them. 我想同时使用它们。 For example when a user will be created in Identity i will create it in Active Directory also. 例如,当将在身份中创建用户时,我也会在Active Directory中创建用户。 So users will use same account in Computers and Applications and i will have Identity's all advantages and will use them in applications. 因此,用户将在计算机和应用程序中使用同一帐户,而我将拥有Identity的所有优势,并将在应用程序中使用它们。 Active Directory will include only a copy of user info (not full copy just needed). Active Directory将仅包括用户信息的副本(不只是所需的完整副本)。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM