edu.internet2.middleware.grouperClient.ssl
Class EasySslSocketFactory

java.lang.Object
  extended by edu.internet2.middleware.grouperClient.ssl.EasySslSocketFactory

public class EasySslSocketFactory
extends Object

Apache code for SSL that doesnt fail with self-signed certs

Author:
mchyzer

Nested Class Summary
static class EasySslSocketFactory.EasyX509TrustManager
          jakarta code for SSL that doesnt fail with self-signed certs
 
Constructor Summary
EasySslSocketFactory()
           
 
Method Summary
 Socket createSocket(Socket socket, String host, int port, boolean autoClose)
           
 Socket createSocket(String host, int port)
           
 Socket createSocket(String host, int port, InetAddress clientHost, int clientPort)
           
 Socket createSocket(String host, int port, InetAddress clientHost, int clientPort, HttpConnectionParams arg4)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EasySslSocketFactory

public EasySslSocketFactory()
Method Detail

createSocket

public Socket createSocket(String host,
                           int port,
                           InetAddress clientHost,
                           int clientPort)
                    throws IOException,
                           UnknownHostException
Throws:
IOException
UnknownHostException
See Also:
SecureProtocolSocketFactory#createSocket(java.lang.String,int,java.net.InetAddress,int)

createSocket

public Socket createSocket(String host,
                           int port)
                    throws IOException,
                           UnknownHostException
Throws:
IOException
UnknownHostException
See Also:
SecureProtocolSocketFactory#createSocket(java.lang.String,int)

createSocket

public Socket createSocket(Socket socket,
                           String host,
                           int port,
                           boolean autoClose)
                    throws IOException,
                           UnknownHostException
Throws:
IOException
UnknownHostException
See Also:
SecureProtocolSocketFactory#createSocket(java.net.Socket,java.lang.String,int,boolean)

createSocket

public Socket createSocket(String host,
                           int port,
                           InetAddress clientHost,
                           int clientPort,
                           HttpConnectionParams arg4)
                    throws IOException,
                           UnknownHostException,
                           ConnectTimeoutException
Throws:
IOException
UnknownHostException
ConnectTimeoutException
See Also:
org.apache.commons.httpclient.protocol.ProtocolSocketFactory#createSocket(java.lang.String, int, java.net.InetAddress, int, org.apache.commons.httpclient.params.HttpConnectionParams)