SAML, OAuth, OpenID Connect, LDAP and SSO
SAML, OAuth, OpenID Connect, LDAP and SSO
1)What is SAML?
SAML (Security Assertion Markup Language) is a standard for exchanging authentication and
authorization data between parties.
2)Explain the roles of Identity Provider (IdP) and Service Provider (SP) in SAML.
IdP manages user identities and provides authentication, while SP consumes this information to
authorize user access.
SAML enables SSO by allowing a user to authenticate once and access multiple systems without re-
authentication.
OAuth is an open standard for secure authorization that allows third-party applications to access
resources on a user’s behalf.
OAuth 1.0a requires cryptographic signatures, while OAuth 2.0 relies on SSL/TLS for security and
simplifies the authorization process.
3)Explain the roles of Resource Owner, Client, Resource Server, and Authorization Server in OAuth.
Resource Owner owns the resource, Client requests access, Resource Server hosts the resource, and
Authorization Server authenticates and grants access tokens.
OpenID Connect:
1)What is OpenID Connect?
OpenID Connect is an authentication layer on top of OAuth 2.0, providing identity information about
the end-user in JSON format.
OpenID Connect adds an identity layer to OAuth 2.0, providing standardized mechanisms for user
authentication and conveying identity information.
3)Explain the difference between ID Token and Access Token in OpenID Connect.
ID Token contains user identity information, while Access Token grants access to protected resources.
LDAP stores and retrieves user credentials and attributes, allowing systems to authenticate users
against a centralized directory.
LDAP is a protocol for accessing directory services, while Active Directory is a directory service that
uses LDAP.
SSO is a session/user authentication process that enables a user to log in once and access multiple
systems without re-authentication.
Benefits include user convenience and improved security. Challenges may involve complex
integrations and potential security risks.