Author: rdonkin
Date: Fri Sep  4 20:31:45 2009
New Revision: 811540

URL: http://svn.apache.org/viewvc?rev=811540&view=rev
Log:
Removed a couple of unused configuration properties which had dummy 
implementations.

Modified:
    
james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPHandlerConfigurationData.java
    
james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPServer.java

Modified: 
james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPHandlerConfigurationData.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPHandlerConfigurationData.java?rev=811540&r1=811539&r2=811540&view=diff
==============================================================================
--- 
james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPHandlerConfigurationData.java
 (original)
+++ 
james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPHandlerConfigurationData.java
 Fri Sep  4 20:31:45 2009
@@ -68,21 +68,6 @@
      * @return whether SMTP authentication is on
      */
     boolean isAuthRequired(String remoteIP);
-
-    /**
-     * Returns whether SMTP auth is active for this server.
-     *
-     * @return whether SMTP authentication is on
-     */
-    boolean isAuthRequired();
-
-    /**
-     * Returns whether the service validates the identity
-     * of its senders.
-     *
-     * @return whether SMTP authentication is on
-     */
-    boolean isVerifyIdentity();
     
     /**
      * Returns whether the remote server needs to send a HELO/EHLO

Modified: 
james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPServer.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPServer.java?rev=811540&r1=811539&r2=811540&view=diff
==============================================================================
--- 
james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPServer.java
 (original)
+++ 
james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPServer.java
 Fri Sep  4 20:31:45 2009
@@ -299,8 +299,7 @@
     /**
      * A class to provide SMTP handler configuration to the handlers
      */
-    private class SMTPHandlerConfigurationDataImpl
-    implements SMTPHandlerConfigurationData {
+    private class SMTPHandlerConfigurationDataImpl implements 
SMTPHandlerConfigurationData {
 
         /**
          * @see 
org.apache.james.smtpserver.SMTPHandlerConfigurationData#getHelloName()
@@ -372,7 +371,6 @@
          * @see 
org.apache.james.smtpserver.SMTPHandlerConfigurationData#useAddressBracketsEnforcement()
          */
         public boolean useAddressBracketsEnforcement() {
-            // TODO Auto-generated method stub
             return SMTPServer.this.addressBracketsEnforcement;
         }
 
@@ -384,17 +382,7 @@
             }
             return authRequired;
         }
-
-        public boolean isAuthRequired() {
-            // TODO Auto-generated method stub
-            return false;
-        }
-
-        public boolean isVerifyIdentity() {
-            // TODO Auto-generated method stub
-            return false;
-        }
-
+        
         //TODO: IF we create here an interface to get DNSServer
         //      we should access it from the SMTPHandlers
 



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

Reply via email to