Fix AR-436 - Error configuring the system to use NTLM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2436 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2006-02-17 18:08:55 +00:00
parent b8cf64b21a
commit af303ec519
2 changed files with 69 additions and 86 deletions

View File

@@ -82,7 +82,16 @@
<ref bean="transactionManager" /> <ref bean="transactionManager" />
</property> </property>
<property name="target"> <property name="target">
<bean class="org.alfresco.repo.security.authentication.RepositoryAuthenticationDao"> <ref bean="authenticationDao"/>
</property>
<property name="transactionAttributes">
<props>
<prop key="*">${server.transaction.mode.default}</prop>
</props>
</property>
</bean>
<bean id="authenticationDao" class="org.alfresco.repo.security.authentication.RepositoryAuthenticationDao">
<property name="nodeService"> <property name="nodeService">
<ref bean="nodeService" /> <ref bean="nodeService" />
</property> </property>
@@ -102,13 +111,6 @@
<ref bean="passwordEncoder" /> <ref bean="passwordEncoder" />
</property> </property>
</bean> </bean>
</property>
<property name="transactionAttributes">
<props>
<prop key="*">${server.transaction.mode.default}</prop>
</props>
</property>
</bean>
<!-- The DAO also acts as a salt provider. --> <!-- The DAO also acts as a salt provider. -->
@@ -222,15 +224,7 @@
<!-- The person service. --> <!-- The person service. -->
<bean id="personService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"> <bean id="personService" class="org.alfresco.repo.security.person.PersonServiceImpl">
<property name="proxyInterfaces">
<value>org.alfresco.service.cmr.security.PersonService</value>
</property>
<property name="transactionManager">
<ref bean="transactionManager" />
</property>
<property name="target">
<bean id="personServiceImpl" class="org.alfresco.repo.security.person.PersonServiceImpl">
<property name="nodeService"> <property name="nodeService">
<ref bean="nodeService" /> <ref bean="nodeService" />
</property> </property>
@@ -282,13 +276,6 @@
<value>${user.name.caseSensitive}</value> <value>${user.name.caseSensitive}</value>
</property> </property>
</bean> </bean>
</property>
<property name="transactionAttributes">
<props>
<prop key="*">${server.transaction.mode.default}</prop>
</props>
</property>
</bean>
<!-- The ticket component. --> <!-- The ticket component. -->
<!-- Used for reauthentication --> <!-- Used for reauthentication -->

View File

@@ -103,10 +103,6 @@ public class PersonTest extends BaseSpringTest
System.out.println("Size ("+size+") : "+((end-start)/1000000.0f)); System.out.println("Size ("+size+") : "+((end-start)/1000000.0f));
} }
} }
} }
public void testCreateMissingPeople1() public void testCreateMissingPeople1()