Commit Graph

5408 Commits

Author SHA1 Message Date
Clebert Suconic 46a41aecad This closes #2121 2018-06-04 16:22:33 -04:00
Justin Bertram be36d3078c ARTEMIS-1902 decrement before returning 2018-06-04 15:01:04 -05:00
Clebert Suconic 655f1dc46a This closes #2118 2018-06-04 12:01:02 -04:00
Justin Bertram 5b7b84a1b3 ARTEMIS-1903 Log STOMP ERROR frames at WARN 2018-06-04 12:01:02 -04:00
Justin Bertram c1b0f1eb85 ARTEMIS-1897 use core session for STOMP authn 2018-06-04 12:01:02 -04:00
Justin Bertram 45ebe4e63d NO-JIRA allow enabling security at runtime 2018-06-04 12:01:02 -04:00
Justin Bertram ef6e3948fd ARTEMIS-1896 centralize authn failure logging
Authentication failures are currently only logged for CORE clients.
This change puts the logging in a central location which all protocols
use for authentication so that authentication failures are logged for
all protocols.
2018-06-04 12:01:02 -04:00
Clebert Suconic a79798532a This closes #2120 2018-06-04 10:07:20 -04:00
Justin Bertram 9183172de3 ARTEMIS-1892 allow whitespace in acceptor and connector URIs 2018-06-04 10:07:19 -04:00
Clebert Suconic 81935cfa0a This closes #2116 2018-06-04 10:01:47 -04:00
Christopher L. Shannon (cshannon) 40ade11981 ARTEMIS-1895 - Add duplicate metadata failure callback to ActiveMQServerPlugin
Add a callback on duplicate metadata which will allow extra
functionality to be added.
2018-06-04 10:01:46 -04:00
Clebert Suconic 2baf377568 This closes #2119 2018-06-04 09:47:05 -04:00
Martyn Taylor dde60b136a ARTEMIS-1902 Ensure ServerConsumer close done once
Calling close multiple times on ServerConsumer can result in multiple
notifications being routed around the cluster.  This causes cluster
topology info to become skewed.  Which affects a number of components
such as message redistribution, metrics and can eventually cause OOM
should multiple queues be redistributing at the same time.
2018-06-04 09:33:26 -04:00
Clebert Suconic b3354a0cbe This closes #2117 2018-06-04 08:55:15 -04:00
Clebert Suconic cd9aed0826 NO-JIRA update release instruction with git-release-report 2018-06-04 08:54:55 -04:00
Clebert Suconic 9318083897 This closes #2113 2018-05-31 18:57:49 -04:00
Johan Stenberg 0ea84ef9ff [ARTEMIS-1890] Fix any-word wildcard matching in AddressImpl to match zero words 2018-05-31 18:57:49 -04:00
Martyn Taylor 545b82fbd7 This closes #2115 2018-05-31 10:48:12 +01:00
Clebert Suconic 1ae2784dc6 ARTEMIS-1858 Expiry messages are not transversing clustering with AMQP 2018-05-30 18:57:38 -04:00
Clebert Suconic 9b7ebef9fd NO-JIRA Improving Assert.equals count on SessionTest 2018-05-30 15:29:06 -04:00
Clebert Suconic 183ebcc5f8 This closes #2114 2018-05-29 22:29:02 -04:00
yang wei 06eb82cb14 ARTEMIS-1891 use io executor to send replicate packet
After sending pages, the thread will hold the storage manager write lock
and send synchronization finished packet(use the parent thread pool) to
the backup node. At the same time, thread pool is full bcs they are
waiting for the storage manager read lock to write the page or journal,
leading to replication starting failure. Here we use io executor to send
replicate packet to fix thread pool starvation problem.
2018-05-29 10:15:50 +08:00
Clebert Suconic fbcee58e8c This closes #2109 2018-05-25 12:30:16 -04:00
Christopher L. Shannon (cshannon) f09a41d433 ARTEMIS-1888 - Add forceSSLParameters flag to override system SSL properties
If true the connection factory will prefer SSL settings set via the connector configuration vs system properties
2018-05-25 12:30:16 -04:00
Clebert Suconic 262ba3ffc2 This closes #2089 2018-05-25 12:29:03 -04:00
saurabhrai d11eed2f9e ARTEMIS-1866 Make Quorum vote result wait time configurable.
Quorum voting is used by both the live and the backup to decide what to do if a replication connection is disconnected.
Basically, the server will request each live server in the cluster to vote as to whether it thinks the server it is replicating to or from is still alive.
You can also configure the time for which the quorum manager will wait for the quorum vote response.
Currently, the value is hardcoded as 30 sec. We should change this 30-second wait to be configurable.
2018-05-25 12:29:02 -04:00
Clebert Suconic a6c54a7926 This closes #2111 2018-05-25 08:42:42 -04:00
Justin Bertram 6211fb7ad6 ARTEMIS-1882 fix failing SecurityTest 2018-05-24 22:05:09 -05:00
Clebert Suconic 90a6e9911c This closes #2110 2018-05-24 16:31:23 -04:00
Justin Bertram b97bf8fac4 ARTEMIS-1872 fix examples broken after authn change 2018-05-24 15:18:42 -05:00
Clebert Suconic 5e5ae40417 This closes #2108 2018-05-24 14:37:36 -04:00
Justin Bertram cd2f544b7e ARTEMIS-1872 fix security tests
After the new authn change for creating addresses a bunch of tests need
to be updated to include the proper permissions.
2018-05-24 14:37:35 -04:00
saurabhrai fd3baf1ea2 ARTEMIS-1887 Setting default-max-consumers in address-setting not working
When setting "default-max-consumers" in addressing setting in broker.xml
It has no effect on the "max-consumers" property on matching address queues.

Tests added as part of a previous commit

This closes #2107
2018-05-24 14:36:23 -04:00
Shailendra Kumar Singh 390a07e391 [ARTEMIS-1885] max-consumers attribute in queue definition does not work for AMQP client.
Tests being added as part of another commit

This closes #2106
2018-05-24 14:36:23 -04:00
Clebert Suconic ca589f316b ARTEMIS-1887 and ARTEMIS-1885 Adding tests on maxConsumer
This is a test for PRs #2106 and #2107
2018-05-24 14:36:22 -04:00
Clebert Suconic c915ed1d92 This closes #2102 2018-05-24 12:00:30 -04:00
Justin Bertram cb7b5cba04 NO-JIRA Fix compatibility tests 2018-05-24 12:00:12 -04:00
Justin Bertram 3602713a7e ARTEMIS-1882 verify PKCS12 keystores work 2018-05-24 11:58:43 -04:00
Clebert Suconic e6d2607494 This closes #2105 2018-05-24 09:16:42 -04:00
Michael André Pearce 659d23cb28 ARTEMIS-1872 Fixing address security checks
Ensure CREATE_ADDRESS is honored and behavior is consistent across protocols.
2018-05-24 05:23:41 +01:00
Michael André Pearce 0746ea8aca ARTEMIS-1872 Fixing Security test 2018-05-23 22:49:45 -04:00
Clebert Suconic e28a8a5635 This closes #2101 2018-05-23 15:47:49 -04:00
Howard Gao 7c53855c11 ARTEMIS-1853 Adding Netty OpenSSL provider example
Added an example to demonstrate how to configure and use openssl
Moved/Added netty-tcnative dependency to artemis-distribution
Changed artemis-jms-client-all pom to exclude io.netty from relocation
so that the native openssl can be loaded
2018-05-23 15:47:10 -04:00
Clebert Suconic d6d685134a This closes #2103 2018-05-23 15:44:42 -04:00
Clebert Suconic 3a5971ec81 ARTEMIS-1872 Improving Security Checks on AMQP Protocol
Also improving test coverage on SecureConfigurationTest
This commit will fix JMSConnectionWithSecurityTest.
2018-05-23 15:01:41 -04:00
Clebert Suconic 88b23994c3 This closes #2093 2018-05-23 13:11:36 -04:00
Michael André Pearce a9d9731f0a ARTEMIS-1872 Check for queue exists before creating shared queue
1. Add tests case to verify issue and fix, tests also tests for same behavior using CORE, OPENWIRE and AMQP JMS Clients.
2. Update Core Client to check for queue before creating, sharedQueue as per createQueue logic.
3. Update ServerSessionPacketHandler to handle packets from old clients to perform to implement the same fix server side for older clients.
4. Correct AMQP protocol so correct error code is returned on security exception so that amqp jms can correctly throw JMSsecurityException
5. Correct AMQP protocol to check for queue exists before create
6. Correct OpenWire protocol to check for address exists before create
2018-05-23 13:11:25 -04:00
Timothy Bish 78016cbe69 This closes #2098 2018-05-22 18:40:29 -04:00
Justin Bertram 8d64f741a1 ARTEMIS-1873 STOMP heartbeater left alive on cxn destroy 2018-05-22 17:07:31 -05:00
andytaylor 4cd7b1c65c This closes #2096 ARTEMIS-1876 InVMNodeManager shouldn't be used if no JDBC HA is configured 2018-05-22 11:17:37 +01:00