This project has retired. For details please refer to its
        
        Attic page .
      
GullibleSSLSocketFactory (Jetspeed-2 Security Components 2.1.3 API)
 
 
org.apache.jetspeed.security.util 
 
java.lang.Object 
  javax.net.SocketFactory 
      javax.net.ssl.SSLSocketFactory 
          org.apache.jetspeed.security.util.GullibleSSLSocketFactory 
 
public class GullibleSSLSocketFactory  extends SSLSocketFactory   
Socket Factory for SSL connections which do not provide an authentication
 This is used to connect to servers where we are just interested in
 an encypted tunnel, and not to verify that both parties trust each other.
Version: $Id: GullibleSSLSocketFactory.java 516448 2007-03-09 16:25:47Z ate $ 
Author: Berry van Halderen  
 
Method Summary   
 Socket  createSocket InetAddress  host,
             int port) 
 Socket  createSocket InetAddress  address,
             int port,
             InetAddress  localAddress,
             int localPort) 
 Socket  createSocket Socket  s,
             String  host,
             int port,
             boolean autoClose) 
 Socket  createSocket String  host,
             int port) 
 Socket  createSocket String  host,
             int port,
             InetAddress  localAddress,
             int localPort) 
static SocketFactory  getDefault  
 String [] getDefaultCipherSuites  
 String [] getSupportedCipherSuites  
 
Methods inherited from class java.lang.Object   
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait  
 
factory 
private SSLSocketFactory  factory  
 
 
GullibleSSLSocketFactory 
protected GullibleSSLSocketFactory () 
 
getDefault 
public static SocketFactory  getDefault () 
 
 
getDefaultCipherSuites 
public String [] getDefaultCipherSuites () 
Specified by: getDefaultCipherSuites SSLSocketFactory  
 
 
getSupportedCipherSuites 
public String [] getSupportedCipherSuites () 
Specified by: getSupportedCipherSuites SSLSocketFactory  
 
 
createSocket 
public Socket  createSocket (Socket  s,
                           String  host,
                           int port,
                           boolean autoClose)
                    throws IOException  
Specified by: createSocket SSLSocketFactory  
Throws: 
IOException  
 
createSocket 
public Socket  createSocket (String  host,
                           int port)
                    throws IOException ,
                           UnknownHostException  
Specified by: createSocket SocketFactory  
Throws: 
IOException UnknownHostException  
 
createSocket 
public Socket  createSocket (String  host,
                           int port,
                           InetAddress  localAddress,
                           int localPort)
                    throws IOException ,
                           UnknownHostException  
Specified by: createSocket SocketFactory  
Throws: 
IOException UnknownHostException  
 
createSocket 
public Socket  createSocket (InetAddress  host,
                           int port)
                    throws IOException  
Specified by: createSocket SocketFactory  
Throws: 
IOException  
 
createSocket 
public Socket  createSocket (InetAddress  address,
                           int port,
                           InetAddress  localAddress,
                           int localPort)
                    throws IOException  
Specified by: createSocket SocketFactory  
Throws: 
IOException