1. Lightweight Directory Access Protocol (LDAP) :
LDAP stands for Lightweight Directory Access Protocol. It is a protocol that’s used for locating anyone to locate individuals, organizations, and other devices during a network regardless of being on public or corporate internet. It is used as Directories-as-a-Service and is the grounds for Microsoft building Activity Directory.
Features of LDAP :
- It implements an open-source protocol with a flexible architecture.
- Operates over TCP/IP and SSL directly.
- LDAP is a self-automated protocol.
- Provides extensive support across industries.
2. OAuth 2 :
OAuth as the name suggests it is an authorization framework that facilitates granting limited access to the user on its account through an HTTP service. When the user requests access to resources an API call is made and after the authentication token is passed.
Features of OAuth 2 :
- It is a flexible protocol and allows access without using user credentials.
- It is easier to implement.
- It provides server-side authorization of code.
- It provides strong authentication.
Difference Between LDAP and OAuth :
|1.||It is short called as Lightweight Directory Access Protocol.||It is called as OAuth 2.|
|2.||LDAP is used for authorizing the details of the records when accessed.||It is used for authentication user credential as on Server Side.|
|3.||It is not open-source but it possesses implementation such as Open LDAP which are open-source.||It is an open standard for access delegation.|
|4.||It supports two-factor authentication with RADIUS protocol.||It provide two-way authentication, and can tell you about the number of attributes of user.|
|5.||LDAP appends authentication in two options SASL or anonymous authentication.||OAuth provides authentication by access token called as network tokens.|
|6.||It renders authentication in multi-tier applications.||It provides authentication in multi-tier applications.|
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.