Author: jochen
Date: Fri Nov 28 13:48:43 2008
New Revision: 721567

URL: http://svn.apache.org/viewvc?rev=721567&view=rev
Log:
Weakened the access control in the WebServer class in order to make subclassing 
easier.
PR: XMLRPC-160
Submitted-By: James Baldassari <[EMAIL PROTECTED]>

Modified:
    webservices/xmlrpc/trunk/pom.xml
    
webservices/xmlrpc/trunk/server/src/main/java/org/apache/xmlrpc/webserver/WebServer.java
    webservices/xmlrpc/trunk/src/changes/changes.xml

Modified: webservices/xmlrpc/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/xmlrpc/trunk/pom.xml?rev=721567&r1=721566&r2=721567&view=diff
==============================================================================
--- webservices/xmlrpc/trunk/pom.xml (original)
+++ webservices/xmlrpc/trunk/pom.xml Fri Nov 28 13:48:43 2008
@@ -152,6 +152,10 @@
             <email>[EMAIL PROTECTED]</email>
         </contributor>
         <contributor>
+            <name>James Baldassari</name>
+            <email>[EMAIL PROTECTED]</email>
+        </contributor>
+        <contributor>
             <name>Denis Carniel</name>
             <email>[EMAIL PROTECTED]</email>
         </contributor>

Modified: 
webservices/xmlrpc/trunk/server/src/main/java/org/apache/xmlrpc/webserver/WebServer.java
URL: 
http://svn.apache.org/viewvc/webservices/xmlrpc/trunk/server/src/main/java/org/apache/xmlrpc/webserver/WebServer.java?rev=721567&r1=721566&r2=721567&view=diff
==============================================================================
--- 
webservices/xmlrpc/trunk/server/src/main/java/org/apache/xmlrpc/webserver/WebServer.java
 (original)
+++ 
webservices/xmlrpc/trunk/server/src/main/java/org/apache/xmlrpc/webserver/WebServer.java
 Fri Nov 28 13:48:43 2008
@@ -234,6 +234,16 @@
        public void setParanoid(boolean pParanoid) {
                paranoid = pParanoid;
        }
+
+       /**
+        * Returns the client filtering state.
+        * @return True, if client filtering is enabled, false otherwise.
+        * @see #acceptClient(java.lang.String)
+        * @see #denyClient(java.lang.String)
+        */
+       protected boolean isParanoid() {
+               return paranoid;
+       }
        
        /** Add an IP address to the list of accepted clients. The parameter can
         * contain '*' as wildcard character, e.g. "192.168.*.*". You must call

Modified: webservices/xmlrpc/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/webservices/xmlrpc/trunk/src/changes/changes.xml?rev=721567&r1=721566&r2=721567&view=diff
==============================================================================
--- webservices/xmlrpc/trunk/src/changes/changes.xml (original)
+++ webservices/xmlrpc/trunk/src/changes/changes.xml Fri Nov 28 13:48:43 2008
@@ -32,6 +32,11 @@
           issue="XMLRPC-161">
         The ThreadPool could create more threads than configured.
       </action>
+      <action dev="jochen" type="fix" due-to="James Baldassari" 
due-to-email="jbaldassari at gmail dot com"
+          issue="XMLRPC-160">
+        Weakened the access control in the WebServer class in order to make
+        subclassing easier.
+      </action>
       <action dev="jochen" type="fix" due-to="Brandon DuRette" 
due-to-email="[EMAIL PROTECTED]"
           issue="XMLRPC-159">
         Improved the handling of HTTP status codes that indicate an error.


Reply via email to