1 45 package org.exolab.jms.net.http.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.http.HTTPSManagedConnectionFactory; 52 import org.exolab.jms.net.util.SSLUtil; 53 54 55 61 public class HTTPSConnectionFactoryTest extends ConnectionFactoryTestCase { 62 63 69 public HTTPSConnectionFactoryTest(String name) throws Exception { 70 super(name, new HTTPSManagedConnectionFactory(), 71 "https://localhost:8443/openjms-tunnel/tunnel", 72 "https-server://localhost:3030"); 73 } 74 75 82 protected Map getConnectionProperties() throws Exception { 83 return SSLUtil.getHTTPSProperties("test.keystore", "secret"); 84 } 85 86 92 protected Map getAcceptorProperties() throws Exception { 93 return SSLUtil.getHTTPSProperties("test.keystore", "secret"); 94 } 95 96 } 97 | Popular Tags |