ARTEMIS-4130 remove redundant log on AMQP cxn auth failure

This commit is contained in:
Justin Bertram 2023-01-18 14:20:01 -06:00 committed by Bruscino Domenico Francesco
parent b1d70a24fd
commit 3ef2fbe93a
1 changed files with 0 additions and 1 deletions

View File

@ -594,7 +594,6 @@ public class AMQPConnectionContext extends ProtonInitializable implements EventH
try {
validatedUser = protocolManager.getServer().validateUser(user, password, connectionCallback.getProtonConnectionDelegate(), protocolManager.getSecurityDomain());
} catch (ActiveMQSecurityException e) {
logger.warn(e.getMessage(), e);
ErrorCondition error = new ErrorCondition();
error.setCondition(AmqpError.UNAUTHORIZED_ACCESS);
error.setDescription(e.getMessage() == null ? e.getClass().getSimpleName() : e.getMessage());