01: package org.objectweb.celtix.bus.transports.https;
02:
03: import java.io.IOException;
04: import java.net.URL;
05: import java.security.cert.Certificate;
06:
07: import javax.net.ssl.HttpsURLConnection;
08: import javax.net.ssl.SSLPeerUnverifiedException;
09:
10: class DummyHttpsConnection extends HttpsURLConnection {
11:
12: protected DummyHttpsConnection(URL arg0) {
13: super (arg0);
14: }
15:
16: public String getCipherSuite() {
17: return null;
18: }
19:
20: public void disconnect() {
21:
22: }
23:
24: @Override
25: public boolean usingProxy() {
26: // TODO Auto-generated method stub
27: return false;
28: }
29:
30: @Override
31: public void connect() throws IOException {
32: // TODO Auto-generated method stub
33:
34: }
35:
36: @Override
37: public Certificate[] getLocalCertificates() {
38: // TODO Auto-generated method stub
39: return null;
40: }
41:
42: @Override
43: public Certificate[] getServerCertificates()
44: throws SSLPeerUnverifiedException {
45: // TODO Auto-generated method stub
46: return null;
47: }
48:
49: }
|