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 org.alfresco.repo.management.subsystems.SubsystemProxyFactory but that doesn't work for the Authentication subsystem.
Cannot convert value of type [org.alfresco.repo.management.subsystems.DefaultChildApplicationContextManager] to required type [org.alfresco.repo.management.subsystems.ApplicationContextFactory] 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?
Thanks.