In AEM 6, LDAP support comes with a new implementation that requires a different type of configuration than with previous versions.
All LDAP configurations are now available as OSGi configurations. They can be configured via the Web Management console at:
http://serveraddress:4502/system/console/configMgr
The required config classes are listed below.
- org.apache.jackrabbit.oak.security.authentication.ldap.impl.LdapIdentityProvider
- org.apache.jackrabbit.oak.spi.security.authentication.external.impl.DefaultSyncHandler
- org.apache.jackrabbit.oak.spi.security.authentication.external.impl.ExternalLoginModuleFactory.
"org.apache.jackrabbit.oak.security.authentication.ldap.impl.LdapIdentityProvider.xml".
See here for reference.
Similarly create two more config files & name them as below.
org.apache.jackrabbit.oak.spi.security.authentication.external.impl.DefaultSyncHandler.xml
org.apache.jackrabbit.oak.spi.security.authentication.external.impl.ExternalLoginModuleFactory.xml
Now with this config files in place, do a config/content deployment & upon successful deployment your AEM instance is configured with the provided LDAP server.
Tested with OpenDS 2.2 & AEM 6
Please Note: You may need to restart your AEM instance once the configs are applied.