activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From martyntay...@apache.org
Subject [23/27] activemq-artemis git commit: Fix SecurityTest
Date Wed, 30 Nov 2016 13:27:43 GMT
Fix SecurityTest


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

Branch: refs/heads/ARTEMIS-780
Commit: 762e4f1de37ec6a81b6cb50bbfa031c365ecc401
Parents: be9483a
Author: jbertram <jbertram@apache.com>
Authored: Tue Nov 29 22:47:36 2016 -0600
Committer: jbertram <jbertram@apache.com>
Committed: Tue Nov 29 22:47:36 2016 -0600

----------------------------------------------------------------------
 .../artemis/tests/integration/security/SecurityTest.java         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/762e4f1d/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/security/SecurityTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/security/SecurityTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/security/SecurityTest.java
index 2829d80..21b2c6d 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/security/SecurityTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/security/SecurityTest.java
@@ -833,7 +833,7 @@ public class SecurityTest extends ActiveMQTestBase {
       HierarchicalRepository<Set<Role>> securityRepository = server.getSecurityRepository();
       ActiveMQJAASSecurityManager securityManager = (ActiveMQJAASSecurityManager) server.getSecurityManager();
       securityManager.getConfiguration().addUser("auser", "pass");
-      Role role = new Role("arole", false, false, true, true, false, false, false, false,
false, false);
+      Role role = new Role("arole", false, false, true, true, false, false, false, false,
false, true);
       Set<Role> roles = new HashSet<>();
       roles.add(role);
       securityRepository.addMatch(SecurityTest.addressA, roles);
@@ -923,7 +923,7 @@ public class SecurityTest extends ActiveMQTestBase {
       HierarchicalRepository<Set<Role>> securityRepository = server.getSecurityRepository();
       ActiveMQJAASSecurityManager securityManager = (ActiveMQJAASSecurityManager) server.getSecurityManager();
       securityManager.getConfiguration().addUser("auser", "pass");
-      Role role = new Role("arole", false, false, false, false, true, true, false, false,
false, false);
+      Role role = new Role("arole", false, false, false, false, true, true, false, false,
false, true);
       Set<Role> roles = new HashSet<>();
       roles.add(role);
       securityRepository.addMatch(SecurityTest.addressA, roles);


Mime
View raw message