summaryrefslogtreecommitdiff
path: root/qpid/java/systests
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2010-05-31 16:05:55 +0000
committerRobert Gemmell <robbie@apache.org>2010-05-31 16:05:55 +0000
commit4733fe031d102470c81a36a99781a177cba30b68 (patch)
tree722aec6f665aa192f951e00a6f166e7b57e5fe1f /qpid/java/systests
parent86ad25eda8528a6d8551c846223351634669b489 (diff)
downloadqpid-python-4733fe031d102470c81a36a99781a177cba30b68.tar.gz
QPID-2569: Implement the SimpleXML as an OSGi plugin
Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@949784 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/systests')
-rw-r--r--qpid/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java b/qpid/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java
index fc9b07eadd..ee2938f2fe 100644
--- a/qpid/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java
+++ b/qpid/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java
@@ -88,13 +88,8 @@ public class SimpleACLTest extends AbstractACLTestCase
try
{
//get a connection to the 'test2' vhost using the guest user and perform various actions.
- Connection conn = getConnection(new AMQConnectionURL(
- "amqp://username:password@clientid/test2?brokerlist='" + getBroker() + "'"));
-
- ((AMQConnection) conn).setConnectionListener(this);
-
- Session sesh = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);
-
+ Connection conn = getConnection("test2", "guest", "guest");
+ Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);
conn.start();
//create Queues and consumers for each