Skip to content

Commit 8de47fe

Browse files
amahusseinahussein
authored andcommitted
HADOOP-17360. Log the remote address for authentication success (#2441)
Co-authored-by: ahussein <[email protected]> (cherry picked from commit 1ea3f74)
1 parent afbdf5c commit 8de47fe

File tree

1 file changed

+1
-1
lines changed
  • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc

1 file changed

+1
-1
lines changed

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2033,7 +2033,7 @@ private void saslProcess(RpcSaslProto saslMessage)
20332033
LOG.debug("SASL server successfully authenticated client: " + user);
20342034
}
20352035
rpcMetrics.incrAuthenticationSuccesses();
2036-
AUDITLOG.info(AUTH_SUCCESSFUL_FOR + user);
2036+
AUDITLOG.info(AUTH_SUCCESSFUL_FOR + user + " from " + toString());
20372037
saslContextEstablished = true;
20382038
}
20392039
} catch (RpcServerException rse) { // don't re-wrap

0 commit comments

Comments
 (0)