Custom Integration of AEM with Active Directory (AD)


You can integrate the Adobe Experience Manager (AEM) site to synchronize the Active Directory (AD) user account to login from a third-party LDAP server. After Configuration AEM site to use the third-party LDAP for AD users to authenticate when login on AEM Site. It can be performed in two ways – Simple authentication or SSL.

Custom Integration of AEM with Active Directory (AD)

LDAP – LDAP (Lightweight Directory Access Protocol) is an open and cross-platform protocol used for accessing centralized directory services on AEM. It provides the communication language that applications use to communicate with other directory services servers, one such LDAP server is Active Directory. LDAP stores the data (users, passwords, and computer accounts) in a centralized location and shares that information with other entities on the network. In other words, LDAP is a directory services protocol.

Active Directory –   Active Directory is a directory services implementation that provides all sorts of functionality like authentication, group and user management, policy administration and more. Active Directory is just one example of a directory service that supports LDAP. Active Directory is a directory server that uses the LDAP protocol. AD Users will authenticate from LDAP.

Active Directory 

Steps to perform AD configuration with AEM

  1. AD Server IP (Host IP) and Port.
  2. Base DN (Distinguished Name) of the AD – “OU=xyz,DC=axy,DC=axy,DC=xy”
  3. Active Directory admin username (which will authentic the users) and password to establish the connection from AEM.
  4. You can create the custom AD configuration with the above settings on AEM config inside ConfigMgr for ease of access.
  5. OOTB java methods are available to perform authentication where after passing the username and password, an error will be returned only in case of a failed login. Else it needs to be considered as successful authentication.

NOTE – You can also verify the connection on the machine by installing Apache DS. On ApacheDS the users and their definitions can be validated.

We specialize in customizing and integrating the Adobe Experience Manager (AEM) Platform. For more information on AEM functionalities and benefits, contact us at