HADOOP-7272. Remove unnecessary security related info logs. Contributed by Suresh Srinivas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1101668 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a5290c9eca
commit
c0d70530b1
@ -133,6 +133,8 @@ Trunk (unreleased changes)
|
||||
HADOOP-7271. Standardize shell command error messages. (Daryn Sharp
|
||||
via szetszwo)
|
||||
|
||||
HADOOP-7272. Remove unnecessary security related info logs. (suresh)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
@ -1059,12 +1059,16 @@ public Object run() throws SaslException {
|
||||
null);
|
||||
}
|
||||
if (saslServer.isComplete()) {
|
||||
LOG.info("SASL server context established. Negotiated QoP is "
|
||||
+ saslServer.getNegotiatedProperty(Sasl.QOP));
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("SASL server context established. Negotiated QoP is "
|
||||
+ saslServer.getNegotiatedProperty(Sasl.QOP));
|
||||
}
|
||||
String qop = (String) saslServer.getNegotiatedProperty(Sasl.QOP);
|
||||
useWrap = qop != null && !"auth".equalsIgnoreCase(qop);
|
||||
user = getAuthorizedUgi(saslServer.getAuthorizationID());
|
||||
LOG.info("SASL server successfully authenticated client: " + user);
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("SASL server successfully authenticated client: " + user);
|
||||
}
|
||||
rpcMetrics.authenticationSuccesses.inc();
|
||||
AUDITLOG.info(AUTH_SUCCESSFULL_FOR + user);
|
||||
saslContextEstablished = true;
|
||||
|
Loading…
Reference in New Issue
Block a user