You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2021/05/13 07:54:02 UTC

[james-project] 01/03: JAMES-3579 No need to assign authRequired twice

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit df8fb17d9fa37116d717cfeac3d15c9e12b43a54
Author: Rene Cordier <rc...@linagora.com>
AuthorDate: Tue May 11 11:07:35 2021 +0700

    JAMES-3579 No need to assign authRequired twice
    
    This is done above already.
---
 .../src/main/java/org/apache/james/smtpserver/netty/SMTPServer.java   | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/netty/SMTPServer.java b/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/netty/SMTPServer.java
index cc5379a..e01b0a0 100644
--- a/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/netty/SMTPServer.java
+++ b/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/netty/SMTPServer.java
@@ -178,10 +178,6 @@ public class SMTPServer extends AbstractProtocolAsyncServer implements SMTPServe
 
             heloEhloEnforcement = configuration.getBoolean("heloEhloEnforcement", true);
 
-            if (authRequiredString.equals("true")) {
-                authRequired = AUTH_REQUIRED;
-            }
-
             // get the smtpGreeting
             smtpGreeting = configuration.getString("smtpGreeting", null);
 

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