cancel
Showing results for 
Search instead for 
Did you mean: 

Where to map synchronization attributes in 3.2?

jriker1
Champ in-the-making
Champ in-the-making
I used to go into /subsystems/Authentication/ldap/ldap-synchronisation-context.xml to map LDAP attributes to Alfresco attributes below the attributeMapping section.  Can't find this anymore.  The data in the new Synchronization subsystem doesn't seem to contain this either.  Any explanation on how to add these attribute mappings in 3.2 would be appreciated and if possible, not directly edit the XML files but "extend" them like you do your chaining mechanisms.

Thanks.

JR
4 REPLIES 4

doiheartwentyon
Champ in-the-making
Champ in-the-making
My 3.2 has attributeMapping in /subsystems/Authentication/ldap/common-ldap-context.xml

jriker1
Champ in-the-making
Champ in-the-making
My 3.2 has attributeMapping in /subsystems/Authentication/ldap/common-ldap-context.xml

Thanks.  I see that file, so now the question is how / where do I put a modified version of this file with my changes/additions?  Do I have to modify this xml file in the original source so when I compile it comes across or is there a way to load a customized version of this in the shared folder area?

JR

dward
Champ on-the-rise
Champ on-the-rise
it's in subsystems/Authentication and it's included by subsystems/Authentication/ldap and subsystems/Authentication/ldap-ad

You can still override any of the beans within common-ldap-context.xml for your ldap or ldap-ad subsystem by using the Spring override mechanism described here

http://wiki.alfresco.com/wiki/Alfresco_Subsystems#Spring_Beans

So for example in

alfresco/extension/subsystems/Authentication/ldap/myinstance/custom-ldap-context.xml


or

alfresco/extension/subsystems/Authentication/ldap-ad/myinstance/custom-ldap-context.xml

You will need a 3.3 nightly build in order to do this.

dward
Champ on-the-rise
Champ on-the-rise
FYI the nightly builds are labelled v3.2 again. It should be fine to use these.