You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by jb...@apache.org on 2020/11/16 22:07:45 UTC

[hadoop] branch branch-3.2 updated: HADOOP-17360. Log the remote address for authentication success (#2441)

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

jbrennan pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.2 by this push:
     new d2ae8bc  HADOOP-17360. Log the remote address for authentication success (#2441)
d2ae8bc is described below

commit d2ae8bcc665b97939dcd5e917c79e5475b2e8dc9
Author: Ahmed Hussein <50...@users.noreply.github.com>
AuthorDate: Mon Nov 9 14:05:08 2020 -0600

    HADOOP-17360. Log the remote address for authentication success (#2441)
    
    Co-authored-by: ahussein <ah...@verizonmedia.com>
    (cherry picked from commit 1ea3f74246294c280a2ccb0ff3e90b5721c5f0e2)
---
 .../hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
index ddff9fc..d06736a 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
@@ -2033,7 +2033,7 @@ public abstract class Server {
             LOG.debug("SASL server successfully authenticated client: " + user);
           }
           rpcMetrics.incrAuthenticationSuccesses();
-          AUDITLOG.info(AUTH_SUCCESSFUL_FOR + user);
+          AUDITLOG.info(AUTH_SUCCESSFUL_FOR + user + " from " + toString());
           saslContextEstablished = true;
         }
       } catch (RpcServerException rse) { // don't re-wrap


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org