You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2017/03/23 03:32:45 UTC
[2/3] activemq-artemis git commit: NO-JIRA don't log stack for
cluster auth failure
NO-JIRA don't log stack for cluster auth failure
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/bc43bfbc
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/bc43bfbc
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/bc43bfbc
Branch: refs/heads/master
Commit: bc43bfbcce378ac9040ff4d5fc51fdb4fdddb0c3
Parents: bf4d776
Author: Justin Bertram <jb...@apache.org>
Authored: Wed Mar 22 09:46:53 2017 -0500
Committer: Clebert Suconic <cl...@apache.org>
Committed: Wed Mar 22 23:32:37 2017 -0400
----------------------------------------------------------------------
.../artemis/core/protocol/core/impl/ActiveMQPacketHandler.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/bc43bfbc/artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/ActiveMQPacketHandler.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/ActiveMQPacketHandler.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/ActiveMQPacketHandler.java
index 919d84e..3cf2cea 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/ActiveMQPacketHandler.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/ActiveMQPacketHandler.java
@@ -19,6 +19,7 @@ package org.apache.activemq.artemis.core.protocol.core.impl;
import java.util.HashMap;
import java.util.Map;
+import org.apache.activemq.artemis.api.core.ActiveMQClusterSecurityException;
import org.apache.activemq.artemis.api.core.ActiveMQException;
import org.apache.activemq.artemis.api.core.ActiveMQExceptionType;
import org.apache.activemq.artemis.api.core.ActiveMQInternalErrorException;
@@ -175,7 +176,7 @@ public class ActiveMQPacketHandler implements ChannelHandler {
protocolManager.addSessionHandler(request.getName(), handler);
response = new CreateSessionResponseMessage(server.getVersion().getIncrementingVersion());
- } catch (ActiveMQSecurityException e) {
+ } catch (ActiveMQClusterSecurityException | ActiveMQSecurityException e) {
ActiveMQServerLogger.LOGGER.securityProblemWhileCreatingSession(e.getMessage());
response = new ActiveMQExceptionMessage(e);
} catch (ActiveMQException e) {