summaryrefslogtreecommitdiff
path: root/qpid/java/common/src/test
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2008-10-23 19:32:02 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2008-10-23 19:32:02 +0000
commitf98d1258b3594fac76b2beb40c9af30e8920019b (patch)
tree9b134903979ce76fae47e1d9a462abe6b460da5d /qpid/java/common/src/test
parentafa039a04f876d448427f3da6b443fbdb94226bc (diff)
downloadqpid-python-f98d1258b3594fac76b2beb40c9af30e8920019b.tar.gz
This is for QPID-1296
added a boolean to the connect method to indicate whether an SSL connection should be created. currently there seems to be two issues. 1. The shutdownInput method used in IoReceiver is not supported by the SSLSocket implementation. 2. I haven't able to get client side authentication working. For item 1 we may need to use nio classes to get around the issue. For item 2 I am yet to figure out the correct config options to get client side auth working. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707453 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common/src/test')
-rw-r--r--qpid/java/common/src/test/java/org/apache/qpid/transport/ConnectionTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/java/common/src/test/java/org/apache/qpid/transport/ConnectionTest.java b/qpid/java/common/src/test/java/org/apache/qpid/transport/ConnectionTest.java
index 19e1c2537f..b1fe08bfb9 100644
--- a/qpid/java/common/src/test/java/org/apache/qpid/transport/ConnectionTest.java
+++ b/qpid/java/common/src/test/java/org/apache/qpid/transport/ConnectionTest.java
@@ -139,7 +139,7 @@ public class ConnectionTest extends TestCase implements SessionListener
}
}
});
- conn.connect("localhost", port, null, "guest", "guest");
+ conn.connect("localhost", port, null, "guest", "guest",false);
return conn;
}
@@ -170,7 +170,7 @@ public class ConnectionTest extends TestCase implements SessionListener
public void testResume() throws Exception
{
Connection conn = new Connection();
- conn.connect("localhost", port, null, "guest", "guest");
+ conn.connect("localhost", port, null, "guest", "guest",false);
conn.setConnectionListener(new ConnectionListener()
{
@@ -182,7 +182,7 @@ public class ConnectionTest extends TestCase implements SessionListener
public void closed(Connection conn)
{
queue = true;
- conn.connect("localhost", port, null, "guest", "guest");
+ conn.connect("localhost", port, null, "guest", "guest",false);
conn.resume();
}
});