Thursday, June 28, 2012

Alfresco Authentication Subsystems LDAP Authentication Chain

Alfresco 3.2 and later has the concept of subsystems.
Here I am describing the LDAP Authentication Chain.
How to configure more than one LDAP Authentication in Alfresco Authentication Chain subsystems.


Example:
Environment I used is Linux


Edit your alfresco-global.properties file and add


authentication.chain=ldap1:ldap,ldap2:ldap

Create Folder
Go to Folder



 

$TOMCAT_HOME/shared/classes/alfresco/extension/

mkdir -p subsystems/Authentication/ldap/ldap1
mkdir -p subsystems/Authentication/ldap/ldap2

Then copy  
$TOMCAT_HOME/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/ldap/ldap-authentication.properties

To 

$TOMCAT_HOME/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/ldap/ldap-authentication.properties
and
$TOMCAT_HOME/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap1/ldap-authentication.properties


You can then edit the properties for ldap1 and ldap2 as required to complete the configuration.