1 45 package org.exolab.jms.net.tcp.connector; 46 47 import java.util.Map ; 48 49 import org.exolab.jms.net.connector.Connection; 50 import org.exolab.jms.net.connector.ConnectionFactoryTestCase; 51 import org.exolab.jms.net.tcp.TCPSManagedConnectionFactory; 52 import org.exolab.jms.net.util.SSLUtil; 53 54 55 61 public class TCPSConnectionFactoryTest extends ConnectionFactoryTestCase { 62 63 69 public TCPSConnectionFactoryTest(String name) throws Exception { 70 super(name, new TCPSManagedConnectionFactory(), 71 "tcps://localhost:5030", "tcps://localhost:5030"); 72 } 73 74 81 protected Map getConnectionProperties() throws Exception { 82 return SSLUtil.getTCPSProperties("test.keystore", "secret"); 83 } 84 85 91 protected Map getAcceptorProperties() throws Exception { 92 return SSLUtil.getTCPSProperties("test.keystore", "secret"); 93 } 94 95 } 96 | Popular Tags |