As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<beans> <bean name="authenticationDao" class="org.alfresco.repo.security.authentication.DefaultMutableAuthenticationDao" > <property name="allowDeleteUser"> <value>true</value> </property> </bean> <!– LDAP authentication configuration –> <bean id="authenticationComponent" class="es.retevision.ecompany.alfresco.repo.security.authentication.ldap.LDAPAuthenticationComponentWrapper"> <property name="LDAPInitialDirContextFactory"> <ref bean="ldapInitialDirContextFactory"/> </property> <property name="userNameFormat"> <value>uid=%s,ou=***,dc=***,dc=***</value> </property> </bean> </bean> <!– LDAP authentication configuration –> <bean id="ldapInitialDirContextFactory" class="es.retevision.ecompany.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryWrapper"> <property name="initialDirContextEnvironment"> <map> <entry key="java.naming.factory.initial"> <value>com.sun.jndi.ldap.LdapCtxFactory</value> </entry> <entry key="java.naming.provider.url"> <value>ldap://my.ldap.server:port</value> </entry> <entry key="java.naming.security.authentication"> <value>simple</value> </entry> </map> </property> </bean> </beans>