I am unable to create new user in Ldap through AEM 6.0 api .I have configured All Ldap settings in AEM in Sling Cnnsole Named As:
1.Apache Jackrabbit Oak LDAP Identity Provider
2.Apache Jackrabbit Oak External Login Module
3.Apache Jackrabbit Oak Default Sync Handler
After this configuration i am able to logged in in AEM Instance by the users who is already existing in LDAP.
I created users through Plain Java code by using this code:
Hashtable test1 = new Hashtable();
test1.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
test1.put(Context.PROVIDER_URL, "ldap://hostanme:portname");
test1.put(Context.SECURITY_AUTHENTICATION, "simple");
test1.put(Context.SECURITY_PRINCIPAL,"cn=Directory Manager"); // specify the username
Please guide me which Libraries i need to import to connect with Ldap in AEM 6.0
I am refering this class Now:
https://github.com/apache/jackrabbit-oak/blob/trunk/oak-auth-external/src/main/java/org/apache/jackr...
Not able to resolve deependency of :
import org.apache.jackrabbit.oak.spi.security.authentication.external.impl.jmx.SyncMBeanImpl;
import org.apache.jackrabbit.oak.spi.security.authentication.external.impl.jmx.SynchronizationMBean;
Thanks