com.atlassian.bamboo.xmpp
Class SSLSocketFactoryForBamboo

java.lang.Object
  extended by javax.net.SocketFactory
      extended by javax.net.ssl.SSLSocketFactory
          extended by com.atlassian.bamboo.xmpp.SSLSocketFactoryForBamboo

public class SSLSocketFactoryForBamboo
extends javax.net.ssl.SSLSocketFactory

An SSL socket factory that will let any certifacte past, even if it's expired or not singed by a root CA. From SSLXMPP (SMACK people wrote it!)


Constructor Summary
SSLSocketFactoryForBamboo()
           
 
Method Summary
 java.net.Socket createSocket(java.net.InetAddress inaddr, int i)
           
 java.net.Socket createSocket(java.net.InetAddress inaddr, int i, java.net.InetAddress inaddr2, int j)
           
 java.net.Socket createSocket(java.net.Socket socket, java.lang.String s, int i, boolean flag)
           
 java.net.Socket createSocket(java.lang.String s, int i)
           
 java.net.Socket createSocket(java.lang.String s, int i, java.net.InetAddress inaddr, int j)
           
static javax.net.SocketFactory getDefault()
           
 java.lang.String[] getDefaultCipherSuites()
           
 java.lang.String[] getSupportedCipherSuites()
           
 
Methods inherited from class javax.net.SocketFactory
createSocket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLSocketFactoryForBamboo

public SSLSocketFactoryForBamboo()
Method Detail

getDefault

public static javax.net.SocketFactory getDefault()

createSocket

public java.net.Socket createSocket(java.net.Socket socket,
                                    java.lang.String s,
                                    int i,
                                    boolean flag)
                             throws java.io.IOException
Specified by:
createSocket in class javax.net.ssl.SSLSocketFactory
Throws:
java.io.IOException

createSocket

public java.net.Socket createSocket(java.net.InetAddress inaddr,
                                    int i,
                                    java.net.InetAddress inaddr2,
                                    int j)
                             throws java.io.IOException
Specified by:
createSocket in class javax.net.SocketFactory
Throws:
java.io.IOException

createSocket

public java.net.Socket createSocket(java.net.InetAddress inaddr,
                                    int i)
                             throws java.io.IOException
Specified by:
createSocket in class javax.net.SocketFactory
Throws:
java.io.IOException

createSocket

public java.net.Socket createSocket(java.lang.String s,
                                    int i,
                                    java.net.InetAddress inaddr,
                                    int j)
                             throws java.io.IOException
Specified by:
createSocket in class javax.net.SocketFactory
Throws:
java.io.IOException

createSocket

public java.net.Socket createSocket(java.lang.String s,
                                    int i)
                             throws java.io.IOException
Specified by:
createSocket in class javax.net.SocketFactory
Throws:
java.io.IOException

getDefaultCipherSuites

public java.lang.String[] getDefaultCipherSuites()
Specified by:
getDefaultCipherSuites in class javax.net.ssl.SSLSocketFactory

getSupportedCipherSuites

public java.lang.String[] getSupportedCipherSuites()
Specified by:
getSupportedCipherSuites in class javax.net.ssl.SSLSocketFactory


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.