You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by er...@apache.org on 2012/02/08 15:21:44 UTC

svn commit: r1241906 - /james/app/trunk/src/main/resources/META-INF/org/apache/james/spring-server.xml

Author: eric
Date: Wed Feb  8 14:21:43 2012
New Revision: 1241906

URL: http://svn.apache.org/viewvc?rev=1241906&view=rev
Log:
Temporary disable ACL via config to avoid 'Missing command implementation for commmand myrights' (IMAP-357)

Modified:
    james/app/trunk/src/main/resources/META-INF/org/apache/james/spring-server.xml

Modified: james/app/trunk/src/main/resources/META-INF/org/apache/james/spring-server.xml
URL: http://svn.apache.org/viewvc/james/app/trunk/src/main/resources/META-INF/org/apache/james/spring-server.xml?rev=1241906&r1=1241905&r2=1241906&view=diff
==============================================================================
--- james/app/trunk/src/main/resources/META-INF/org/apache/james/spring-server.xml (original)
+++ james/app/trunk/src/main/resources/META-INF/org/apache/james/spring-server.xml Wed Feb  8 14:21:43 2012
@@ -267,9 +267,21 @@
         <property name="imapDecoder" ref="imapDecoder"/>
         <property name="imapEncoder" ref="imapEncoder"/>    
     </bean>
-    <bean id="imapProcessor" class="org.apache.james.imap.processor.main.DefaultImapProcessorFactory" factory-method="createDefaultProcessor">
+    <!-- The imapProcessor configuration will be reviewed when IMAP will be integrated into Protocols project -->
+    <!-- Temporary configuration - see IMAP-357 -->
+    <bean id="imapProcessor" class="org.apache.james.imap.processor.main.DefaultImapProcessorFactory" factory-method="createXListSupportingProcessor">
         <constructor-arg index="0" ref="mailboxmanager"/>
         <constructor-arg index="1" ref="subscriptionManager"/>
+        <!-- The mailboxTyper -->
+        <constructor-arg index="2" value="#{null}"/>
+        <!-- The idleKeepAlive -->
+        <constructor-arg index="3" value="120"/>
+        <!-- The list of disabled capabilities -->
+        <constructor-arg index="4">
+          <set>
+            <value>ACL</value>
+          </set>
+       </constructor-arg>
     </bean>
     <bean id="imapDecoder" factory-bean="imapDecoderFactory" factory-method="buildImapDecoder"/>
     <bean id="imapDecoderFactory" class="org.apache.james.imap.main.DefaultImapDecoderFactory"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org