Use JMX Bean from sourcecode org.apache.jackrabbit.oak: External Identity Synchronization Management
Hi
In CQ 5.5 we connected to the ldap jmx bean via:
javax.management.MBeanServer.getClassLoaderFor("com.adobe.granite.ldap:host=localhost,port=10389,type=Tools")e.g. for the operation syncAllExternalUsers(), which worked fine.
Now with AEM 6.1 I try to use the new JMX Bean via:
javax.management.MBeanServer.getClassLoaderFor("org.apache.jackrabbit.oak:handler=mySyncHandler,idp=ldap")but I get the following exception:
javax.management.InstanceNotFoundException:org.apache.jackrabbit.oak.spi.security.authentication.external.impl.jmx.SynchronizationMBean:handler=mySyncHandler,idp=ldap
If I run the syncAllExternalUsers() manually via AEM Web Console, the function works fine. I also tried to connect to the bean with org.apache.jackrabbit.oak.spi.security.authentication.external.impl.jmx.SynchronizationMBean:handler=mySyncHandler,idp=ldap .
Does anyone have an idea, how I an call the new bean in AEM 6.1?
Thanks alot
Reto