Author: norman
Date: Tue May 18 10:59:42 2010
New Revision: 945588

URL: http://svn.apache.org/viewvc?rev=945588&view=rev
Log:
Use LocalUsersRepository as default localusersrepository (JAMES-999). Thx to 
Eric Charles for the patch!

Modified:
    james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml

Modified: 
james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml?rev=945588&r1=945587&r2=945588&view=diff
==============================================================================
--- james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml 
(original)
+++ james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml 
Tue May 18 10:59:42 2010
@@ -237,15 +237,19 @@
         <property name="configurationRegistry" ref="configurationRegistry"/>
     </bean>
 
-    <!--This is needed to link the smtpserver to the local user repository
+    <!-- This is needed to link the smtpserver to the local user repository
         LocalJamesUsersRepository is used for backward compatibility with
-        James 2.3.0
-        If backward compatibility is not need the LocalUsersRepository
-        implementation
+        org.apache.james.impl.jamesuser.LocalJamesUsersRepository can be used 
for
+        backward compatibility with James 2.3.0
+        If backward compatibility is not needed, 
org.apache.james.impl.user.LocalUsersRepository
+        implementation is used by default.
     -->
-    <!-- could be safely used -->
-    <bean id="localusersrepository" 
class="org.apache.james.impl.jamesuser.LocalJamesUsersRepository" />
 
+    <!-- uncomment this for james 2.3.0 backward compatibility
+    <bean id="localusersrepository" 
class="org.apache.james.impl.jamesuser.LocalJamesUsersRepository" />
+    -->
+    <!-- this is the default implementation for the localusersrepository - not 
james 2.3.0 backward compatible -->
+    <bean id="localusersrepository" 
class="org.apache.james.impl.user.LocalUsersRepository" />
 
     <!-- The context FileSystem implementation -->
     <bean id="filesystem" 
class="org.apache.james.container.spring.SpringFileSystem" />



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to