|
@@ -1324,15 +1324,10 @@ public abstract class Server {
|
|
|
saslResponse = processSaslMessage(saslMessage);
|
|
|
} catch (IOException e) {
|
|
|
rpcMetrics.incrAuthenticationFailures();
|
|
|
- if (LOG.isDebugEnabled()) {
|
|
|
- LOG.debug(StringUtils.stringifyException(e));
|
|
|
- }
|
|
|
// attempting user could be null
|
|
|
- IOException tce = (IOException) getTrueCause(e);
|
|
|
AUDITLOG.warn(AUTH_FAILED_FOR + this.toString() + ":"
|
|
|
- + attemptingUser + " (" + e.getLocalizedMessage()
|
|
|
- + ") with true cause: (" + tce.getLocalizedMessage() + ")");
|
|
|
- throw tce;
|
|
|
+ + attemptingUser + " (" + e.getLocalizedMessage() + ")");
|
|
|
+ throw (IOException) getTrueCause(e);
|
|
|
}
|
|
|
|
|
|
if (saslServer != null && saslServer.isComplete()) {
|