Author: pzf
Date: Fri Apr 27 07:53:30 2007
New Revision: 533125

URL: http://svn.apache.org/viewvc?view=rev&rev=533125
Log:
added comments and fixed security issue

Modified:
    webservices/synapse/trunk/java/repository/conf/synapse.xml

Modified: webservices/synapse/trunk/java/repository/conf/synapse.xml
URL: 
http://svn.apache.org/viewvc/webservices/synapse/trunk/java/repository/conf/synapse.xml?view=diff&rev=533125&r1=533124&r2=533125
==============================================================================
--- webservices/synapse/trunk/java/repository/conf/synapse.xml (original)
+++ webservices/synapse/trunk/java/repository/conf/synapse.xml Fri Apr 27 
07:53:30 2007
@@ -20,10 +20,12 @@
 <definitions xmlns="http://ws.apache.org/ns/synapse";>
 
     <in>
-        <filter source="get-property('To')" regex=".*localhost:9000.*">
-            <!-- Log all messages passing through -->
-            <log level="full"/>
-
+        <!-- Log all messages passing through -->
+        <log level="full"/>
+        
+        <!-- ensure that the default configuration only sends if it is one of 
samples -->
+        <!-- Otherwise Synapse would be an open proxy by default (BAD!)        
       -->
+        <filter source="get-property('To')" regex="http://localhost:9000.*";>
             <!-- Send the messages where they have been sent (i.e. implicit 
"To" EPR) -->
             <send/>
         </filter>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to