|
@@ -1079,12 +1079,16 @@ public abstract class Server {
|
|
|
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;
|