Skip to content

Commit 1ea3f74

Browse files
amahusseinahussein
andauthored
HADOOP-17360. Log the remote address for authentication success (#2441)
Co-authored-by: ahussein <[email protected]>
1 parent ae7b00a commit 1ea3f74

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
@@ -2043,7 +2043,7 @@ private void saslProcess(RpcSaslProto saslMessage)
20432043
LOG.debug("SASL server successfully authenticated client: " + user);
20442044
}
20452045
rpcMetrics.incrAuthenticationSuccesses();
2046-
AUDITLOG.info(AUTH_SUCCESSFUL_FOR + user);
2046+
AUDITLOG.info(AUTH_SUCCESSFUL_FOR + user + " from " + toString());
20472047
saslContextEstablished = true;
20482048
}
20492049
} catch (RpcServerException rse) { // don't re-wrap

0 commit comments

Comments
 (0)