AnsweredAssumed Answered

What's the correct way to reuse LDAP beans/connection settings?

Question asked by idwright on Nov 28, 2016
Latest reply on Dec 6, 2018 by idwright

I'm trying to create an action which accesses LDAP.


If I define the action bean in /extension/subsystems/Synchronization/ldap/ldap1/my-ldap-context.xml then I would normally expect to be able to access it using but that doesn't work for the Authentication subsystem.

Cannot convert value of type [] to required type [] for property 'sourceApplicationContextFactory':

If I pull the bean definitions (<import resource="classpath:alfresco/subsystems/Authentication/common-ldap-context.xml"/>) into my context/actions-context.xml then chaos ensues


What does work is to redefine ldapInitialDirContextFactory in the context file but that's not ideal.


Any thoughts?