Jenkins build is back to stable : ActiveMQ-Artemis-Master #1307

2017-09-05 Thread Apache Jenkins Server
See 




Jenkins build became unstable: ActiveMQ-Artemis-Master #1306

2017-09-05 Thread Apache Jenkins Server
See 




[4/4] activemq-artemis git commit: [maven-release-plugin] prepare for next development iteration

2017-09-05 Thread clebertsuconic
[maven-release-plugin] prepare for next development iteration


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

Branch: refs/heads/master
Commit: c8982d775b55849836ae20739a9e82f7eaf1d650
Parents: 84d5ac6
Author: Clebert Suconic 
Authored: Tue Sep 5 17:03:48 2017 -0400
Committer: Clebert Suconic 
Committed: Tue Sep 5 17:03:48 2017 -0400

--
 artemis-boot/pom.xml | 2 +-
 artemis-cdi-client/pom.xml   | 2 +-
 artemis-cli/pom.xml  | 2 +-
 artemis-commons/pom.xml  | 2 +-
 artemis-core-client-all/pom.xml  | 2 +-
 artemis-core-client/pom.xml  | 2 +-
 artemis-distribution/pom.xml | 2 +-
 artemis-dto/pom.xml  | 2 +-
 artemis-features/pom.xml | 2 +-
 artemis-hawtio/activemq-branding/pom.xml | 2 +-
 artemis-hawtio/artemis-console/pom.xml   | 2 +-
 artemis-hawtio/artemis-plugin/pom.xml| 2 +-
 artemis-hawtio/pom.xml   | 2 +-
 artemis-jdbc-store/pom.xml   | 2 +-
 artemis-jms-client-all/pom.xml   | 2 +-
 artemis-jms-client/pom.xml   | 2 +-
 artemis-jms-server/pom.xml   | 2 +-
 artemis-journal/pom.xml  | 2 +-
 artemis-junit/pom.xml| 2 +-
 artemis-maven-plugin/pom.xml | 2 +-
 artemis-native/pom.xml   | 2 +-
 artemis-protocols/artemis-amqp-protocol/pom.xml  | 2 +-
 artemis-protocols/artemis-hornetq-protocol/pom.xml   | 2 +-
 artemis-protocols/artemis-hqclient-protocol/pom.xml  | 2 +-
 artemis-protocols/artemis-mqtt-protocol/pom.xml  | 2 +-
 artemis-protocols/artemis-openwire-protocol/pom.xml  | 2 +-
 artemis-protocols/artemis-stomp-protocol/pom.xml | 2 +-
 artemis-protocols/pom.xml| 2 +-
 artemis-ra/pom.xml   | 2 +-
 artemis-rest/pom.xml | 2 +-
 artemis-selector/pom.xml | 2 +-
 artemis-server-osgi/pom.xml  | 2 +-
 artemis-server/pom.xml   | 2 +-
 artemis-service-extensions/pom.xml   | 2 +-
 artemis-tools/pom.xml| 2 +-
 artemis-web/pom.xml  | 2 +-
 artemis-website/pom.xml  | 2 +-
 examples/features/clustered/client-side-load-balancing/pom.xml   | 2 +-
 .../features/clustered/clustered-durable-subscription/pom.xml| 2 +-
 examples/features/clustered/clustered-grouping/pom.xml   | 2 +-
 examples/features/clustered/clustered-jgroups/pom.xml| 2 +-
 examples/features/clustered/clustered-queue/pom.xml  | 2 +-
 .../features/clustered/clustered-static-discovery-uri/pom.xml| 2 +-
 examples/features/clustered/clustered-static-discovery/pom.xml   | 2 +-
 examples/features/clustered/clustered-static-oneway/pom.xml  | 2 +-
 examples/features/clustered/clustered-topic-uri/pom.xml  | 2 +-
 examples/features/clustered/clustered-topic/pom.xml  | 2 +-
 examples/features/clustered/pom.xml  | 2 +-
 examples/features/clustered/queue-message-redistribution/pom.xml | 2 +-
 examples/features/clustered/symmetric-cluster/pom.xml| 2 +-
 examples/features/ha/application-layer-failover/pom.xml  | 2 +-
 examples/features/ha/client-side-failoverlistener/pom.xml| 2 +-
 examples/features/ha/colocated-failover-scale-down/pom.xml   | 2 +-
 examples/features/ha/colocated-failover/pom.xml  | 2 +-
 examples/features/ha/ha-policy-autobackup/pom.xml| 2 +-
 examples/features/ha/multiple-failover-failback/pom.xml  | 2 +-
 examples/features/ha/multiple-failover/pom.xml   | 2 +-
 examples/features/ha/non-transaction-failover/pom.xml| 2 +-
 examples/features/ha/pom.xml 

[2/4] activemq-artemis git commit: [maven-release-plugin] prepare release 2.3.0

2017-09-05 Thread clebertsuconic
[maven-release-plugin] prepare release 2.3.0


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

Branch: refs/heads/master
Commit: 84d5ac65b466d6a3e5027f3f45c5d66acb35728b
Parents: 5ac4e74
Author: Clebert Suconic 
Authored: Tue Sep 5 17:03:37 2017 -0400
Committer: Clebert Suconic 
Committed: Tue Sep 5 17:03:37 2017 -0400

--
 artemis-boot/pom.xml | 2 +-
 artemis-cdi-client/pom.xml   | 2 +-
 artemis-cli/pom.xml  | 2 +-
 artemis-commons/pom.xml  | 2 +-
 artemis-core-client-all/pom.xml  | 2 +-
 artemis-core-client/pom.xml  | 2 +-
 artemis-distribution/pom.xml | 2 +-
 artemis-dto/pom.xml  | 2 +-
 artemis-features/pom.xml | 2 +-
 artemis-hawtio/activemq-branding/pom.xml | 2 +-
 artemis-hawtio/artemis-console/pom.xml   | 2 +-
 artemis-hawtio/artemis-plugin/pom.xml| 2 +-
 artemis-hawtio/pom.xml   | 2 +-
 artemis-jdbc-store/pom.xml   | 2 +-
 artemis-jms-client-all/pom.xml   | 2 +-
 artemis-jms-client/pom.xml   | 2 +-
 artemis-jms-server/pom.xml   | 2 +-
 artemis-journal/pom.xml  | 2 +-
 artemis-junit/pom.xml| 2 +-
 artemis-maven-plugin/pom.xml | 2 +-
 artemis-native/pom.xml   | 2 +-
 artemis-protocols/artemis-amqp-protocol/pom.xml  | 2 +-
 artemis-protocols/artemis-hornetq-protocol/pom.xml   | 2 +-
 artemis-protocols/artemis-hqclient-protocol/pom.xml  | 2 +-
 artemis-protocols/artemis-mqtt-protocol/pom.xml  | 2 +-
 artemis-protocols/artemis-openwire-protocol/pom.xml  | 2 +-
 artemis-protocols/artemis-stomp-protocol/pom.xml | 2 +-
 artemis-protocols/pom.xml| 2 +-
 artemis-ra/pom.xml   | 2 +-
 artemis-rest/pom.xml | 2 +-
 artemis-selector/pom.xml | 2 +-
 artemis-server-osgi/pom.xml  | 2 +-
 artemis-server/pom.xml   | 2 +-
 artemis-service-extensions/pom.xml   | 2 +-
 artemis-tools/pom.xml| 2 +-
 artemis-web/pom.xml  | 2 +-
 artemis-website/pom.xml  | 2 +-
 examples/features/clustered/client-side-load-balancing/pom.xml   | 2 +-
 .../features/clustered/clustered-durable-subscription/pom.xml| 2 +-
 examples/features/clustered/clustered-grouping/pom.xml   | 2 +-
 examples/features/clustered/clustered-jgroups/pom.xml| 2 +-
 examples/features/clustered/clustered-queue/pom.xml  | 2 +-
 .../features/clustered/clustered-static-discovery-uri/pom.xml| 2 +-
 examples/features/clustered/clustered-static-discovery/pom.xml   | 2 +-
 examples/features/clustered/clustered-static-oneway/pom.xml  | 2 +-
 examples/features/clustered/clustered-topic-uri/pom.xml  | 2 +-
 examples/features/clustered/clustered-topic/pom.xml  | 2 +-
 examples/features/clustered/pom.xml  | 2 +-
 examples/features/clustered/queue-message-redistribution/pom.xml | 2 +-
 examples/features/clustered/symmetric-cluster/pom.xml| 2 +-
 examples/features/ha/application-layer-failover/pom.xml  | 2 +-
 examples/features/ha/client-side-failoverlistener/pom.xml| 2 +-
 examples/features/ha/colocated-failover-scale-down/pom.xml   | 2 +-
 examples/features/ha/colocated-failover/pom.xml  | 2 +-
 examples/features/ha/ha-policy-autobackup/pom.xml| 2 +-
 examples/features/ha/multiple-failover-failback/pom.xml  | 2 +-
 examples/features/ha/multiple-failover/pom.xml   | 2 +-
 examples/features/ha/non-transaction-failover/pom.xml| 2 +-
 examples/features/ha/pom.xml  

[activemq-artemis] Git Push Summary

2017-09-05 Thread clebertsuconic
Repository: activemq-artemis
Updated Tags:  refs/tags/2.3.0 [created] a43a6bc4e


[3/4] activemq-artemis git commit: [maven-release-plugin] prepare for next development iteration

2017-09-05 Thread clebertsuconic
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/c8982d77/examples/features/standard/queue/pom.xml
--
diff --git a/examples/features/standard/queue/pom.xml 
b/examples/features/standard/queue/pom.xml
index 8dfc285..8017d62 100644
--- a/examples/features/standard/queue/pom.xml
+++ b/examples/features/standard/queue/pom.xml
@@ -24,7 +24,7 @@ under the License.

   org.apache.activemq.examples.broker
   jms-examples
-  2.3.0
+  2.4.0-SNAPSHOT

 
queue

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/c8982d77/examples/features/standard/reattach-node/pom.xml
--
diff --git a/examples/features/standard/reattach-node/pom.xml 
b/examples/features/standard/reattach-node/pom.xml
index 855b2ca..15f9220 100644
--- a/examples/features/standard/reattach-node/pom.xml
+++ b/examples/features/standard/reattach-node/pom.xml
@@ -24,7 +24,7 @@ under the License.

   org.apache.activemq.examples.broker
   jms-examples
-  2.3.0
+  2.4.0-SNAPSHOT

 
reattach-node

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/c8982d77/examples/features/standard/request-reply/pom.xml
--
diff --git a/examples/features/standard/request-reply/pom.xml 
b/examples/features/standard/request-reply/pom.xml
index ecc2ade..c68357b 100644
--- a/examples/features/standard/request-reply/pom.xml
+++ b/examples/features/standard/request-reply/pom.xml
@@ -24,7 +24,7 @@ under the License.

   org.apache.activemq.examples.broker
   jms-examples
-  2.3.0
+  2.4.0-SNAPSHOT

 
request-reply

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/c8982d77/examples/features/standard/rest/dup-send/pom.xml
--
diff --git a/examples/features/standard/rest/dup-send/pom.xml 
b/examples/features/standard/rest/dup-send/pom.xml
index f288310..d61f8ca 100644
--- a/examples/features/standard/rest/dup-send/pom.xml
+++ b/examples/features/standard/rest/dup-send/pom.xml
@@ -23,7 +23,7 @@ under the License.

   org.apache.activemq.examples.rest
   artemis-rests-pom
-  2.3.0
+  2.4.0-SNAPSHOT

dup-send
war

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/c8982d77/examples/features/standard/rest/javascript-chat/pom.xml
--
diff --git a/examples/features/standard/rest/javascript-chat/pom.xml 
b/examples/features/standard/rest/javascript-chat/pom.xml
index 4bb8311..c51a20d 100644
--- a/examples/features/standard/rest/javascript-chat/pom.xml
+++ b/examples/features/standard/rest/javascript-chat/pom.xml
@@ -23,7 +23,7 @@ under the License.

   org.apache.activemq.examples.rest
   artemis-rests-pom
-  2.3.0
+  2.4.0-SNAPSHOT

javascript-chat
war

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/c8982d77/examples/features/standard/rest/jms-to-rest/pom.xml
--
diff --git a/examples/features/standard/rest/jms-to-rest/pom.xml 
b/examples/features/standard/rest/jms-to-rest/pom.xml
index acd34d7..f9b751b 100644
--- a/examples/features/standard/rest/jms-to-rest/pom.xml
+++ b/examples/features/standard/rest/jms-to-rest/pom.xml
@@ -23,7 +23,7 @@ under the License.

   org.apache.activemq.examples.rest
   artemis-rests-pom
-  2.3.0
+  2.4.0-SNAPSHOT

mixed-jms-rest
war

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/c8982d77/examples/features/standard/rest/pom.xml
--
diff --git a/examples/features/standard/rest/pom.xml 
b/examples/features/standard/rest/pom.xml
index b98766a..8f80bd8 100644
--- a/examples/features/standard/rest/pom.xml
+++ b/examples/features/standard/rest/pom.xml
@@ -24,7 +24,7 @@ under the License.

   org.apache.activemq.examples.broker
   jms-examples
-  2.3.0
+  2.4.0-SNAPSHOT

 
org.apache.activemq.examples.rest

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/c8982d77/examples/features/standard/rest/push/pom.xml
--
diff --git a/examples/features/standard/rest/push/pom.xml 
b/examples/features/standard/rest/push/pom.xml
index 4fe1b4a..44e85c5 100644
--- a/examples/features/standard/rest/push/pom.xml
+++ b/examples/features/standard/rest/push/pom.xml
@@ -23,7 +23,7 @@ under the License.

   org.apache.activemq.examples.rest
   artemis-rests-pom
-  2.3.0
+  2.4.0-SNAPSHOT

push
war

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/c8982d77/examples/features/standard/scheduled-message/pom.xml

[1/4] activemq-artemis git commit: [maven-release-plugin] prepare release 2.3.0

2017-09-05 Thread clebertsuconic
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 5ac4e7421 -> c8982d775


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/84d5ac65/examples/features/standard/queue/pom.xml
--
diff --git a/examples/features/standard/queue/pom.xml 
b/examples/features/standard/queue/pom.xml
index 8017d62..8dfc285 100644
--- a/examples/features/standard/queue/pom.xml
+++ b/examples/features/standard/queue/pom.xml
@@ -24,7 +24,7 @@ under the License.

   org.apache.activemq.examples.broker
   jms-examples
-  2.4.0-SNAPSHOT
+  2.3.0

 
queue

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/84d5ac65/examples/features/standard/reattach-node/pom.xml
--
diff --git a/examples/features/standard/reattach-node/pom.xml 
b/examples/features/standard/reattach-node/pom.xml
index 15f9220..855b2ca 100644
--- a/examples/features/standard/reattach-node/pom.xml
+++ b/examples/features/standard/reattach-node/pom.xml
@@ -24,7 +24,7 @@ under the License.

   org.apache.activemq.examples.broker
   jms-examples
-  2.4.0-SNAPSHOT
+  2.3.0

 
reattach-node

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/84d5ac65/examples/features/standard/request-reply/pom.xml
--
diff --git a/examples/features/standard/request-reply/pom.xml 
b/examples/features/standard/request-reply/pom.xml
index c68357b..ecc2ade 100644
--- a/examples/features/standard/request-reply/pom.xml
+++ b/examples/features/standard/request-reply/pom.xml
@@ -24,7 +24,7 @@ under the License.

   org.apache.activemq.examples.broker
   jms-examples
-  2.4.0-SNAPSHOT
+  2.3.0

 
request-reply

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/84d5ac65/examples/features/standard/rest/dup-send/pom.xml
--
diff --git a/examples/features/standard/rest/dup-send/pom.xml 
b/examples/features/standard/rest/dup-send/pom.xml
index d61f8ca..f288310 100644
--- a/examples/features/standard/rest/dup-send/pom.xml
+++ b/examples/features/standard/rest/dup-send/pom.xml
@@ -23,7 +23,7 @@ under the License.

   org.apache.activemq.examples.rest
   artemis-rests-pom
-  2.4.0-SNAPSHOT
+  2.3.0

dup-send
war

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/84d5ac65/examples/features/standard/rest/javascript-chat/pom.xml
--
diff --git a/examples/features/standard/rest/javascript-chat/pom.xml 
b/examples/features/standard/rest/javascript-chat/pom.xml
index c51a20d..4bb8311 100644
--- a/examples/features/standard/rest/javascript-chat/pom.xml
+++ b/examples/features/standard/rest/javascript-chat/pom.xml
@@ -23,7 +23,7 @@ under the License.

   org.apache.activemq.examples.rest
   artemis-rests-pom
-  2.4.0-SNAPSHOT
+  2.3.0

javascript-chat
war

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/84d5ac65/examples/features/standard/rest/jms-to-rest/pom.xml
--
diff --git a/examples/features/standard/rest/jms-to-rest/pom.xml 
b/examples/features/standard/rest/jms-to-rest/pom.xml
index f9b751b..acd34d7 100644
--- a/examples/features/standard/rest/jms-to-rest/pom.xml
+++ b/examples/features/standard/rest/jms-to-rest/pom.xml
@@ -23,7 +23,7 @@ under the License.

   org.apache.activemq.examples.rest
   artemis-rests-pom
-  2.4.0-SNAPSHOT
+  2.3.0

mixed-jms-rest
war

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/84d5ac65/examples/features/standard/rest/pom.xml
--
diff --git a/examples/features/standard/rest/pom.xml 
b/examples/features/standard/rest/pom.xml
index 8f80bd8..b98766a 100644
--- a/examples/features/standard/rest/pom.xml
+++ b/examples/features/standard/rest/pom.xml
@@ -24,7 +24,7 @@ under the License.

   org.apache.activemq.examples.broker
   jms-examples
-  2.4.0-SNAPSHOT
+  2.3.0

 
org.apache.activemq.examples.rest

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/84d5ac65/examples/features/standard/rest/push/pom.xml
--
diff --git a/examples/features/standard/rest/push/pom.xml 
b/examples/features/standard/rest/push/pom.xml
index 44e85c5..4fe1b4a 100644
--- a/examples/features/standard/rest/push/pom.xml
+++ b/examples/features/standard/rest/push/pom.xml
@@ -23,7 +23,7 @@ under the License.

   org.apache.activemq.examples.rest
   artemis-rests-pom
-  2.4.0-SNAPSHOT
+  2.3.0

push
war


[2/2] activemq-artemis git commit: NO-JIRA improve password masking doc & code

2017-09-05 Thread clebertsuconic
NO-JIRA improve password masking doc & code

Move password masking documentation into its own chapter and tweak it a
bit for clarity and comprehensiveness.


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

Branch: refs/heads/master
Commit: 714655a051e70b44ad65206ca30ef3b78ca0a0f6
Parents: ea9b12b
Author: Justin Bertram 
Authored: Tue Sep 5 14:30:40 2017 -0500
Committer: Clebert Suconic 
Committed: Tue Sep 5 16:40:38 2017 -0400

--
 .../artemis/utils/PasswordMaskingUtil.java  |   4 +-
 .../artemis/utils/SecureHashProcessor.java  |   7 +-
 docs/user-manual/en/SUMMARY.md  |   1 +
 docs/user-manual/en/configuration-index.md  | 271 +--
 docs/user-manual/en/masking-passwords.md| 254 +
 docs/user-manual/en/security.md |  15 +
 6 files changed, 276 insertions(+), 276 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/714655a0/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/PasswordMaskingUtil.java
--
diff --git 
a/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/PasswordMaskingUtil.java
 
b/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/PasswordMaskingUtil.java
index 3fe2ea1..dbc20c5 100644
--- 
a/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/PasswordMaskingUtil.java
+++ 
b/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/PasswordMaskingUtil.java
@@ -54,7 +54,7 @@ public final class PasswordMaskingUtil {
   static {
  HashProcessor processor = null;
  Exception exception = null;
- final String codecDesc = 
"org.apache.activemq.artemis.utils.DefaultSensitiveStringCodec;algorithm=one-way";
+ final String codecDesc = new 
StringBuilder().append(DefaultSensitiveStringCodec.class.getName()).append(";").append(DefaultSensitiveStringCodec.ALGORITHM).append("=").append(DefaultSensitiveStringCodec.ONE_WAY).toString();
  try {
 final DefaultSensitiveStringCodec codec = 
(DefaultSensitiveStringCodec) PasswordMaskingUtil.getCodec(codecDesc);
 processor = new SecureHashProcessor(codec);
@@ -83,7 +83,7 @@ public final class PasswordMaskingUtil {
}
 
private static boolean isEncoded(String storedPassword) {
-  return storedPassword == null || (storedPassword.startsWith("ENC(") && 
storedPassword.endsWith(")"));
+  return storedPassword == null || 
(storedPassword.startsWith(SecureHashProcessor.BEGIN_HASH) && 
storedPassword.endsWith(SecureHashProcessor.END_HASH));
}
 
public static HashProcessor getHashProcessor() {

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/714655a0/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/SecureHashProcessor.java
--
diff --git 
a/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/SecureHashProcessor.java
 
b/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/SecureHashProcessor.java
index 81db051..8e9cd5c 100644
--- 
a/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/SecureHashProcessor.java
+++ 
b/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/SecureHashProcessor.java
@@ -16,13 +16,10 @@
  */
 package org.apache.activemq.artemis.utils;
 
-/**
- * Hash function
- */
 public class SecureHashProcessor implements HashProcessor {
 
-   private static final String BEGIN_HASH = "ENC(";
-   private static final String END_HASH = ")";
+   public static final String BEGIN_HASH = "ENC(";
+   public static final String END_HASH = ")";
 
private DefaultSensitiveStringCodec codec;
 

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/714655a0/docs/user-manual/en/SUMMARY.md
--
diff --git a/docs/user-manual/en/SUMMARY.md b/docs/user-manual/en/SUMMARY.md
index 68facdc..1a2f531 100644
--- a/docs/user-manual/en/SUMMARY.md
+++ b/docs/user-manual/en/SUMMARY.md
@@ -39,6 +39,7 @@
 * [Management](management.md)
 * [Management Console](management-console.md)
 * [Security](security.md)
+* [Masking Passwords](masking-passwords.md)
 * [Broker Plugins](broker-plugins.md)
 * [Resource Limits](resource-limits.md)
 * [The JMS Bridge](jms-bridge.md)

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/714655a0/docs/user-manual/en/configuration-index.md

[1/2] activemq-artemis git commit: This closes #1510

2017-09-05 Thread clebertsuconic
Repository: activemq-artemis
Updated Branches:
  refs/heads/master ea9b12bbc -> 5ac4e7421


This closes #1510


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

Branch: refs/heads/master
Commit: 5ac4e74214e64a1cdf9550f0131015d490adda3a
Parents: ea9b12b 714655a
Author: Clebert Suconic 
Authored: Tue Sep 5 16:40:38 2017 -0400
Committer: Clebert Suconic 
Committed: Tue Sep 5 16:40:38 2017 -0400

--
 .../artemis/utils/PasswordMaskingUtil.java  |   4 +-
 .../artemis/utils/SecureHashProcessor.java  |   7 +-
 docs/user-manual/en/SUMMARY.md  |   1 +
 docs/user-manual/en/configuration-index.md  | 271 +--
 docs/user-manual/en/masking-passwords.md| 254 +
 docs/user-manual/en/security.md |  15 +
 6 files changed, 276 insertions(+), 276 deletions(-)
--




[2/3] activemq-artemis git commit: ARTEMIS-1372 - alow auth to ldap via kerberos

2017-09-05 Thread clebertsuconic
ARTEMIS-1372 - alow auth to ldap via kerberos


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

Branch: refs/heads/master
Commit: 5db68a451b6e61524b1cc1b9e6764f0ff416f245
Parents: ab7dc69
Author: gtully 
Authored: Mon Sep 4 14:33:30 2017 +0100
Committer: Clebert Suconic 
Committed: Tue Sep 5 16:35:14 2017 -0400

--
 .../spi/core/security/jaas/LDAPLoginModule.java | 128 ++-
 .../amqp/SaslKrb5LDAPSecurityTest.java  |  57 -
 .../resources/SaslKrb5LDAPSecurityTest.ldif |  15 +--
 .../src/test/resources/login.config |  17 ++-
 4 files changed, 161 insertions(+), 56 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/5db68a45/artemis-server/src/main/java/org/apache/activemq/artemis/spi/core/security/jaas/LDAPLoginModule.java
--
diff --git 
a/artemis-server/src/main/java/org/apache/activemq/artemis/spi/core/security/jaas/LDAPLoginModule.java
 
b/artemis-server/src/main/java/org/apache/activemq/artemis/spi/core/security/jaas/LDAPLoginModule.java
index 3ce0e17..65dc5ad 100644
--- 
a/artemis-server/src/main/java/org/apache/activemq/artemis/spi/core/security/jaas/LDAPLoginModule.java
+++ 
b/artemis-server/src/main/java/org/apache/activemq/artemis/spi/core/security/jaas/LDAPLoginModule.java
@@ -36,12 +36,15 @@ import javax.security.auth.callback.NameCallback;
 import javax.security.auth.callback.PasswordCallback;
 import javax.security.auth.callback.UnsupportedCallbackException;
 import javax.security.auth.login.FailedLoginException;
+import javax.security.auth.login.LoginContext;
 import javax.security.auth.login.LoginException;
 import javax.security.auth.spi.LoginModule;
 import java.io.IOException;
 import java.net.URI;
 import java.net.URISyntaxException;
 import java.security.Principal;
+import java.security.PrivilegedActionException;
+import java.security.PrivilegedExceptionAction;
 import java.text.MessageFormat;
 import java.util.ArrayList;
 import java.util.HashSet;
@@ -75,6 +78,8 @@ public class LDAPLoginModule implements LoginModule {
private static final String USER_ROLE_NAME = "userRoleName";
private static final String EXPAND_ROLES = "expandRoles";
private static final String EXPAND_ROLES_MATCHING = "expandRolesMatching";
+   private static final String LOGIN_CONFIG_SCOPE = "loginConfigScope";
+   private static final String AUTHENTICATE_USER = "authenticateUser";
 
protected DirContext context;
 
@@ -84,6 +89,8 @@ public class LDAPLoginModule implements LoginModule {
private String username;
private final Set groups = new HashSet<>();
private boolean userAuthenticated = false;
+   private boolean authenticateUser = true;
+   private Subject brokerGssapiIdentity = null;
 
@Override
public void initialize(Subject subject,
@@ -93,12 +100,19 @@ public class LDAPLoginModule implements LoginModule {
   this.subject = subject;
   this.handler = callbackHandler;
 
-  config = new LDAPLoginProperty[]{new 
LDAPLoginProperty(INITIAL_CONTEXT_FACTORY, (String) 
options.get(INITIAL_CONTEXT_FACTORY)), new LDAPLoginProperty(CONNECTION_URL, 
(String) options.get(CONNECTION_URL)), new 
LDAPLoginProperty(CONNECTION_USERNAME, (String) 
options.get(CONNECTION_USERNAME)), new LDAPLoginProperty(CONNECTION_PASSWORD, 
(String) options.get(CONNECTION_PASSWORD)), new 
LDAPLoginProperty(CONNECTION_PROTOCOL, (String) 
options.get(CONNECTION_PROTOCOL)), new LDAPLoginProperty(AUTHENTICATION, 
(String) options.get(AUTHENTICATION)), new LDAPLoginProperty(USER_BASE, 
(String) options.get(USER_BASE)), new LDAPLoginProperty(USER_SEARCH_MATCHING, 
(String) options.get(USER_SEARCH_MATCHING)), new 
LDAPLoginProperty(USER_SEARCH_SUBTREE, (String) 
options.get(USER_SEARCH_SUBTREE)), new LDAPLoginProperty(ROLE_BASE, (String) 
options.get(ROLE_BASE)), new LDAPLoginProperty(ROLE_NAME, (String) 
options.get(ROLE_NAME)), new LDAPLoginProperty(ROLE_SEARCH_MATCHING, (String) 
options.get(ROLE_S
 EARCH_MATCHING)), new LDAPLoginProperty(ROLE_SEARCH_SUBTREE, (String) 
options.get(ROLE_SEARCH_SUBTREE)), new LDAPLoginProperty(USER_ROLE_NAME, 
(String) options.get(USER_ROLE_NAME)), new LDAPLoginProperty(EXPAND_ROLES, 
(String) options.get(EXPAND_ROLES)), new 
LDAPLoginProperty(EXPAND_ROLES_MATCHING, (String) 
options.get(EXPAND_ROLES_MATCHING))};
+  config = new LDAPLoginProperty[]{new 
LDAPLoginProperty(INITIAL_CONTEXT_FACTORY, (String) 
options.get(INITIAL_CONTEXT_FACTORY)), new LDAPLoginProperty(CONNECTION_URL, 
(String) 

[1/3] activemq-artemis git commit: This closes #1508

2017-09-05 Thread clebertsuconic
Repository: activemq-artemis
Updated Branches:
  refs/heads/master cc35b2361 -> ea9b12bbc


This closes #1508


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

Branch: refs/heads/master
Commit: ea9b12bbc8f20863873fb501383c12446521462b
Parents: cc35b23 5db68a4
Author: Clebert Suconic 
Authored: Tue Sep 5 16:35:14 2017 -0400
Committer: Clebert Suconic 
Committed: Tue Sep 5 16:35:14 2017 -0400

--
 .../spi/core/security/jaas/LDAPLoginModule.java | 205 +++---
 .../integration/amqp/JMSSaslGssapiTest.java |  14 +-
 .../amqp/SaslKrb5LDAPSecurityTest.java  | 401 +++
 .../resources/SaslKrb5LDAPSecurityTest.ldif |  61 +++
 .../src/test/resources/login.config |  32 ++
 5 files changed, 652 insertions(+), 61 deletions(-)
--




[3/3] activemq-artemis git commit: ARTEMIS-1373 - allow LDAP login module apply role mapping to existing user principals in the subject

2017-09-05 Thread clebertsuconic
ARTEMIS-1373 - allow LDAP login module apply role mapping to existing user 
principals in the subject


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

Branch: refs/heads/master
Commit: ab7dc69b5dc9f4b144320fa0fad3823d556fa562
Parents: cc35b23
Author: gtully 
Authored: Fri Sep 1 15:40:33 2017 +0100
Committer: Clebert Suconic 
Committed: Tue Sep 5 16:35:14 2017 -0400

--
 .../spi/core/security/jaas/LDAPLoginModule.java | 105 --
 .../integration/amqp/JMSSaslGssapiTest.java |  14 +-
 .../amqp/SaslKrb5LDAPSecurityTest.java  | 354 +++
 .../resources/SaslKrb5LDAPSecurityTest.ldif |  74 
 .../src/test/resources/login.config |  23 ++
 5 files changed, 528 insertions(+), 42 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/ab7dc69b/artemis-server/src/main/java/org/apache/activemq/artemis/spi/core/security/jaas/LDAPLoginModule.java
--
diff --git 
a/artemis-server/src/main/java/org/apache/activemq/artemis/spi/core/security/jaas/LDAPLoginModule.java
 
b/artemis-server/src/main/java/org/apache/activemq/artemis/spi/core/security/jaas/LDAPLoginModule.java
index 48fc3b9..3ce0e17 100644
--- 
a/artemis-server/src/main/java/org/apache/activemq/artemis/spi/core/security/jaas/LDAPLoginModule.java
+++ 
b/artemis-server/src/main/java/org/apache/activemq/artemis/spi/core/security/jaas/LDAPLoginModule.java
@@ -83,6 +83,7 @@ public class LDAPLoginModule implements LoginModule {
private LDAPLoginProperty[] config;
private String username;
private final Set groups = new HashSet<>();
+   private boolean userAuthenticated = false;
 
@Override
public void initialize(Subject subject,
@@ -122,6 +123,7 @@ public class LDAPLoginModule implements LoginModule {
   // authenticate will throw LoginException
   // in case of failed authentication
   authenticate(username, password);
+  userAuthenticated = true;
   return true;
}
 
@@ -134,7 +136,24 @@ public class LDAPLoginModule implements LoginModule {
@Override
public boolean commit() throws LoginException {
   Set principals = subject.getPrincipals();
-  principals.add(new UserPrincipal(username));
+  if (userAuthenticated) {
+ principals.add(new UserPrincipal(username));
+  } else {
+ // assign roles to any other UserPrincipal
+ Set authenticatedUsers = 
subject.getPrincipals(UserPrincipal.class);
+ for (UserPrincipal authenticatedUser : authenticatedUsers) {
+List roles = new ArrayList<>();
+try {
+   String dn = resolveDN(username, roles);
+   resolveRolesForDN(context, dn, username, roles);
+} catch (NamingException e) {
+   closeContext();
+   FailedLoginException ex = new FailedLoginException("Error 
contacting LDAP");
+   ex.initCause(e);
+   throw ex;
+}
+ }
+  }
   for (RolePrincipal gp : groups) {
  principals.add(gp);
   }
@@ -160,6 +179,45 @@ public class LDAPLoginModule implements LoginModule {
 
protected boolean authenticate(String username, String password) throws 
LoginException {
 
+  List roles = new ArrayList<>();
+  try {
+ String dn = resolveDN(username, roles);
+
+ // check the credentials by binding to server
+ if (bindUser(context, dn, password)) {
+// if authenticated add more roles
+resolveRolesForDN(context, dn, username, roles);
+ } else {
+throw new FailedLoginException("Password does not match for user: 
" + username);
+ }
+  } catch (CommunicationException e) {
+ closeContext();
+ FailedLoginException ex = new FailedLoginException("Error contacting 
LDAP");
+ ex.initCause(e);
+ throw ex;
+  } catch (NamingException e) {
+ closeContext();
+ FailedLoginException ex = new FailedLoginException("Error contacting 
LDAP");
+ ex.initCause(e);
+ throw ex;
+  }
+
+  return true;
+   }
+
+   private void resolveRolesForDN(DirContext context, String dn, String 
username, List roles) throws NamingException {
+  addRoles(context, dn, username, roles);
+  if (logger.isDebugEnabled()) {
+ logger.debug("Roles " + roles + " for user " + username);
+  }
+  for (String role : roles) {
+ groups.add(new RolePrincipal(role));
+  }
+   }
+
+   private String 

[2/2] activemq-artemis git commit: This closes #1507

2017-09-05 Thread clebertsuconic
This closes #1507


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

Branch: refs/heads/master
Commit: cc35b23613e5b1c5c531dcf3001d4a8f121ce46c
Parents: 3497ae8 cd551bf
Author: Clebert Suconic 
Authored: Tue Sep 5 16:17:05 2017 -0400
Committer: Clebert Suconic 
Committed: Tue Sep 5 16:17:05 2017 -0400

--
 .../activemq/artemis/core/server/impl/ServerSessionImpl.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
--




[1/2] activemq-artemis git commit: ARTEMIS-1389 Add non-null check to ServerSessionImpl.doClose()

2017-09-05 Thread clebertsuconic
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 3497ae81f -> cc35b2361


ARTEMIS-1389 Add non-null check to ServerSessionImpl.doClose()

An Openwire connection creates an internal session used to track
transaction status, it doesn't have a session callback. When
the connection is closed, the core session should check if
callback is null to avoid NPE.


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

Branch: refs/heads/master
Commit: cd551bfba07ca8383bc4e738dee4dc2964a1bc6d
Parents: 3497ae8
Author: Howard Gao 
Authored: Mon Sep 4 18:56:57 2017 +0800
Committer: Clebert Suconic 
Committed: Tue Sep 5 16:16:33 2017 -0400

--
 .../activemq/artemis/core/server/impl/ServerSessionImpl.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/cd551bfb/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServerSessionImpl.java
--
diff --git 
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServerSessionImpl.java
 
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServerSessionImpl.java
index 7f09887..4d28fc7 100644
--- 
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServerSessionImpl.java
+++ 
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServerSessionImpl.java
@@ -348,7 +348,9 @@ public class ServerSessionImpl implements ServerSession, 
FailureListener {
}
 
protected void doClose(final boolean failed) throws Exception {
-  callback.close(failed);
+  if (callback != null) {
+ callback.close(failed);
+  }
   synchronized (this) {
  if (!closed) {
 server.callBrokerPlugins(server.hasBrokerPlugins() ? plugin -> 
plugin.beforeCloseSession(this, failed) : null);



[1/2] activemq-artemis git commit: This closes #1506

2017-09-05 Thread clebertsuconic
Repository: activemq-artemis
Updated Branches:
  refs/heads/master dd6a5ab88 -> 3497ae81f


This closes #1506


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

Branch: refs/heads/master
Commit: 3497ae81f2a31bb0b6c61a7f7972e9e69c62e2b8
Parents: dd6a5ab 87b570f
Author: Clebert Suconic 
Authored: Tue Sep 5 14:22:36 2017 -0400
Committer: Clebert Suconic 
Committed: Tue Sep 5 14:22:36 2017 -0400

--
 .../apache/activemq/artemis/cli/Artemis.java|   5 +-
 .../artemis/cli/commands/queue/StatQueue.java   | 262 ++
 .../apache/activemq/cli/test/ArtemisTest.java   | 343 +++
 .../activemq/cli/test/TestActionContext.java|   8 +
 4 files changed, 616 insertions(+), 2 deletions(-)
--




[2/2] activemq-artemis git commit: ARTEMIS-1384 adding CLI command (stat) to display basic queue stats

2017-09-05 Thread clebertsuconic
ARTEMIS-1384 adding CLI command (stat) to display basic queue stats


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

Branch: refs/heads/master
Commit: 87b570f7ce6269f415635944435db0decb789f2d
Parents: dd6a5ab
Author: Pat Fox 
Authored: Sat Sep 2 01:29:04 2017 +0200
Committer: Clebert Suconic 
Committed: Tue Sep 5 14:22:36 2017 -0400

--
 .../apache/activemq/artemis/cli/Artemis.java|   5 +-
 .../artemis/cli/commands/queue/StatQueue.java   | 262 ++
 .../apache/activemq/cli/test/ArtemisTest.java   | 343 +++
 .../activemq/cli/test/TestActionContext.java|   8 +
 4 files changed, 616 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/87b570f7/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/Artemis.java
--
diff --git 
a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/Artemis.java 
b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/Artemis.java
index d52507d..6abf1b6 100644
--- a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/Artemis.java
+++ b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/Artemis.java
@@ -30,6 +30,7 @@ import org.apache.activemq.artemis.cli.commands.InputAbstract;
 import org.apache.activemq.artemis.cli.commands.InvalidOptionsError;
 import org.apache.activemq.artemis.cli.commands.Kill;
 import org.apache.activemq.artemis.cli.commands.Mask;
+import org.apache.activemq.artemis.cli.commands.queue.StatQueue;
 import org.apache.activemq.artemis.cli.commands.Run;
 import org.apache.activemq.artemis.cli.commands.Stop;
 import org.apache.activemq.artemis.cli.commands.address.CreateAddress;
@@ -152,8 +153,8 @@ public class Artemis {
   String instance = artemisInstance != null ? 
artemisInstance.getAbsolutePath() : System.getProperty("artemis.instance");
   Cli.CliBuilder builder = 
Cli.builder("artemis").withDescription("ActiveMQ Artemis Command 
Line").withCommand(HelpAction.class).withCommand(Producer.class).withCommand(Consumer.class).withCommand(Browse.class).withCommand(Mask.class).withDefaultCommand(HelpAction.class);
 
-  builder.withGroup("queue").withDescription("Queue tools group 
(create|delete|update) (example ./artemis queue create)").
- withDefaultCommand(HelpQueue.class).withCommands(CreateQueue.class, 
DeleteQueue.class, UpdateQueue.class);
+  builder.withGroup("queue").withDescription("Queue tools group 
(create|delete|update|stat) (example ./artemis queue create)").
+ withDefaultCommand(HelpQueue.class).withCommands(CreateQueue.class, 
DeleteQueue.class, UpdateQueue.class, StatQueue.class);
 
   builder.withGroup("address").withDescription("Address tools group 
(create|delete|update|show) (example ./artemis address create)").
  
withDefaultCommand(HelpAddress.class).withCommands(CreateAddress.class, 
DeleteAddress.class, UpdateAddress.class, ShowAddress.class);

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/87b570f7/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/queue/StatQueue.java
--
diff --git 
a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/queue/StatQueue.java
 
b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/queue/StatQueue.java
new file mode 100644
index 000..1813033
--- /dev/null
+++ 
b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/queue/StatQueue.java
@@ -0,0 +1,262 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.artemis.cli.commands.queue;
+
+import io.airlift.airline.Command;
+import io.airlift.airline.Option;
+import 

svn commit: r1017743 - in /websites/production/activemq/content: cache/main.pageCache configuring-wire-formats.html

2017-09-05 Thread buildbot
Author: buildbot
Date: Tue Sep  5 16:23:28 2017
New Revision: 1017743

Log:
Production update by buildbot for activemq

Modified:
websites/production/activemq/content/cache/main.pageCache
websites/production/activemq/content/configuring-wire-formats.html

Modified: websites/production/activemq/content/cache/main.pageCache
==
Binary files - no diff available.

Modified: websites/production/activemq/content/configuring-wire-formats.html
==
--- websites/production/activemq/content/configuring-wire-formats.html 
(original)
+++ websites/production/activemq/content/configuring-wire-formats.html Tue Sep  
5 16:23:28 2017
@@ -81,11 +81,11 @@
   
 
 
-The OpenWire Wire 
FormatOpenWire is the default wire format used by ActiveMQ. It 
provides a highly efficient binary format for high speed messaging. 
OpenWire options can be configured on a JMS client's connection URI or on a 
broker's transport bind URI.Parameter NameDefault ValueDescriptioncacheEnabledtrueShould commonly repeated values 
be cached so that less marshaling occurs?cacheSize1024WhencacheEnabled=true
 then this parameter is used to specify the number of values to be 
cached.maxInactivityDuration3The maximum inactivity duration (before which 
the socket is considered dead) in milliseconds. On some platforms it can take a 
long time for a socket to die. Therefore allow the broker to kill connections 
when they have been inactive for the configured period of time.Used by 
some transports to enable a keep alive heart beat feature.Inactivity 
monitoring is dis
 abled when set to a value = 
0.maxInactivityDurationInitalDelay1The initial delay before 
starting inactivity 
checks.Yes, the word'Inital' is 
supposed to be misspelled like that.maxFrameSizeMAX_LONGMaximum allowed frame size. Can help help 
prevent OOM DOS attacks.prefixPacketSizetrueclass="confluenceTd">Should the size of the packet be prefixed before each 
 >packet is marshaled?class="confluenceTd">stackTraceEnabledcolspan="1" rowspan="1" class="confluenceTd">truecolspan="1" rowspan="1" class="confluenceTd">Should the stack trace of 
 >exception that occur on the broker be sent to the 
 >client?class="confluenceTd">tcpNoDelayEnabledcolspan="1" rowspan="1" class="confluenceTd">truecolspan="1" rowspan="1" class="confluenceTd">Does not affect the wire 
 >format, but provides a hint to the peer that TCP nodelay should be enabled on 
 >the communications Socket.class="confluenceTd">tightEncodingEnabledcolspan="1" rowspan="1" class="conflue
 nceTd">trueShould wire size be optimized over CPU 
usage?Use the Correct Prefix!Wire format options must have the 
prefixwireFormat. to take effect, 
e.g.,wireFormat.maxInactivityDuration=1.
 Options missing this prefix will be ignored.Example 
ConfigurationsJava:
-ActiveMQConnectionFactory cf = new 
ActiveMQConnectionFactory("tcp://localhost:61616?wireFormat.cacheEnabled=falsewireFormat.tightEncodingEnabled=false");
+The OpenWire Wire 
FormatOpenWire is the default wire format used by ActiveMQ. It 
provides a highly efficient binary format for high speed messaging. 
OpenWire options can be configured on a JMS client's connection URI or on a 
broker's transport bind URI.Parameter NameDefault ValueDescriptioncacheEnabledtrueShould commonly repeated values 
be cached so that less marshaling occurs?cacheSize1024WhencacheEnabled=true
 then this parameter is used to specify the number of values to be 
cached.maxInactivityDuration3The maximum inactivity duration (before which 
the socket is considered dead) in milliseconds. On some platforms it can take a 
long time for a socket to die. Therefore allow the broker to kill connections 
when they have been inactive for the configured period of time.Used by 
some transports to enable a keep alive heart beat feature.Inactivity 
monitoring is dis
 abled when set to a value = 
0.maxInactivityDurationInitalDelay1The initial delay before 
starting inactivity 
checks.Yes, the word'Inital' is 
supposed to be misspelled like that.maxFrameSizeMAX_LONGMaximum allowed frame size. Can help help 
prevent OOM DOS attacks.sizePrefixDisabledfalseShould the size of the packet be prefixed before each 
packet is marshaled?stackTraceEnabledtrueShould the stack trace of exception that 
occur on the broker be sent to the client?tcpNoDelayEnabledtrueDoes not affect the wire 
format, but provides a hint to the peer that TCP nodelay should be enabled on 
the communications Socket.tightEncodingEnabledtrueShould wire size be optimized over CPU 
usage?Use the Correct Prefix!Wire format options must have the 
prefixwireFormat. to take effect, 
e.g.,wireFormat.maxInactivityDuration=1.
 Options missing this prefix will be ignored.Example 
ConfigurationsJava:
+ActiveMQConnectionFactory cf = new 

[CONF] Apache ActiveMQ > Configuring Wire Formats

2017-09-05 Thread Gary Tully (Confluence)
Title: Message Title



 
 
 
 
 
 
 

Gary Tully edited a page 
 
 
  
 
 
 
 
 
 
 
  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Configuring Wire Formats 
 
 
  
 
 
 
 
 
 
 ... 
 
 
 
 
 Parameter Name  
 Default Value  
 Description  
 
 
  cacheEnabled   
  true   
 Should commonly repeated values be cached so that less marshaling occurs?  
 
 
  cacheSize   
  1024   
 When cacheEnabled=true then this parameter is used to specify the number of values to be cached.  
 
 
  maxInactivityDuration   
  3   
 The maximum inactivity duration (before which the socket is considered dead) in milliseconds. On some platforms it can take a long time for a socket to die. Therefore allow the broker to kill connections when they have been inactive for the configured period of time. Used by some transports to enable a keep alive heart beat feature. Inactivity monitoring is disabled when set to a value <= 0.  
 
 
  maxInactivityDurationInitalDelay   
  1   
 The initial delay before starting inactivity checks. Yes, the word 'Inital' is supposed to be misspelled like that.  
 
 
  maxFrameSize   
  MAX_LONG   
 Maximum allowed frame size. Can help help prevent OOM DOS attacks.prefixPacketSize   
 
 
 
sizePrefixDisabled
  
  true   
 Should the size of the packet be prefixed before each packet is marshaled?  
 
 
  stackTraceEnabled   
  true   
 Should the stack trace of exception that occur on the broker be sent to the client?  
 
 
  tcpNoDelayEnabled   
  true   
 Does not affect the wire format, but provides a hint to the peer that TCP nodelay should be enabled on the communications Socket.  
 
 
  tightEncodingEnabled   
  true   
 Should wire size be optimized over CPU usage?  
 
 
 
 ...  
 
 
  
 
 
 
 
 
 
 
 
 
 

View page
• 
 
 
 
 
 
 

Like 
 
 
  
 
 
  
 
 
  
 
 
  
 
 
 
 
 
 
 
 
 
 
Stop watching space
• 
 
 
 
 
 
 
Manage notifications 
 
 
 
 
 
 
 
 
 
 
  
 
 
This message was sent by Atlassian Confluence 5.8.17  
 
 
  
 
 
 
 
 
 
 
 
 




[1/2] activemq-artemis git commit: ARTEMIS-1385 fixed uncomplete comment and typo

2017-09-05 Thread clebertsuconic
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 986af2e99 -> dd6a5ab88


ARTEMIS-1385 fixed uncomplete comment and typo


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

Branch: refs/heads/master
Commit: e9c601dd2ca3070338731ed391fdb5bb991c873d
Parents: 986af2e
Author: Stanislav Knot 
Authored: Tue Sep 5 09:09:01 2017 +0200
Committer: Stanislav Knot 
Committed: Tue Sep 5 10:42:10 2017 +0200

--
 .../artemis/cli/commands/etc/commented-ping-settings.txt | 4 ++--
 .../apache/activemq/artemis/cli/commands/etc/ping-settings.txt   | 4 ++--
 docs/user-manual/en/configuration-index.md   | 2 +-
 docs/user-manual/en/network-isolation.md | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/e9c601dd/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/commented-ping-settings.txt
--
diff --git 
a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/commented-ping-settings.txt
 
b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/commented-ping-settings.txt
index c271dc9..15adee7 100644
--- 
a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/commented-ping-settings.txt
+++ 
b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/commented-ping-settings.txt
@@ -1,6 +1,6 @@
   
 
   
 
   
 
 

[2/2] activemq-artemis git commit: This closes #1509

2017-09-05 Thread clebertsuconic
This closes #1509


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

Branch: refs/heads/master
Commit: dd6a5ab88de06bb2bdea670d1e7492628784171e
Parents: 986af2e e9c601d
Author: Clebert Suconic 
Authored: Tue Sep 5 09:43:57 2017 -0400
Committer: Clebert Suconic 
Committed: Tue Sep 5 09:43:57 2017 -0400

--
 .../artemis/cli/commands/etc/commented-ping-settings.txt | 4 ++--
 .../apache/activemq/artemis/cli/commands/etc/ping-settings.txt   | 4 ++--
 docs/user-manual/en/configuration-index.md   | 2 +-
 docs/user-manual/en/network-isolation.md | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)
--




Jenkins build is still unstable: ActiveMQ-Java8-All-UnitTests #727

2017-09-05 Thread Apache Jenkins Server
See