You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2015/05/22 21:43:39 UTC

[1/2] activemq git commit: https://issues.apache.org/jira/browse/AMQ-5771

Repository: activemq
Updated Branches:
  refs/heads/master 9bc602be4 -> 7043f32bb


https://issues.apache.org/jira/browse/AMQ-5771

Including remote ip address when logging authentication failures


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/84737f77
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/84737f77
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/84737f77

Branch: refs/heads/master
Commit: 84737f7749a74fda8b17e20ff02e5efd2adac764
Parents: 9bc602b
Author: Christopher L. Shannon <ch...@gmail.com>
Authored: Thu May 21 20:36:41 2015 -0400
Committer: Timothy Bish <ta...@gmail.com>
Committed: Fri May 22 15:37:48 2015 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/activemq/broker/TransportConnection.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/84737f77/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
----------------------------------------------------------------------
diff --git a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
index a86a36e..84d2101 100755
--- a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
+++ b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
@@ -348,7 +348,8 @@ public class TransportConnection implements Connection, Task, CommandVisitor {
 
             if (responseRequired) {
                 if (e instanceof SecurityException || e.getCause() instanceof SecurityException) {
-                    SERVICELOG.warn("Security Error occurred: {}", e.getMessage());
+                    SERVICELOG.warn("Security Error occurred on connection to: {}, {}",
+                            transport.getRemoteAddress(), e.getMessage());
                 }
                 response = new ExceptionResponse(e);
             } else {


[2/2] activemq git commit: This closes #103

Posted by ta...@apache.org.
This closes #103


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/7043f32b
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/7043f32b
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/7043f32b

Branch: refs/heads/master
Commit: 7043f32bb2a6c9139d6bfb4f1af8916f9576b809
Parents: 9bc602b 84737f7
Author: Timothy Bish <ta...@gmail.com>
Authored: Fri May 22 15:39:54 2015 -0400
Committer: Timothy Bish <ta...@gmail.com>
Committed: Fri May 22 15:39:54 2015 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/activemq/broker/TransportConnection.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------