org.rhq.enterprise.server.util.security
Class UntrustedSSLProtocolSocketFactory
java.lang.Object
org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
org.rhq.enterprise.server.util.security.UntrustedSSLProtocolSocketFactory
- All Implemented Interfaces:
- org.apache.commons.httpclient.protocol.ProtocolSocketFactory, org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
public class UntrustedSSLProtocolSocketFactory
- extends org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
For use with commons-httpclient.
| Methods inherited from class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory |
createSocket, equals, hashCode |
UntrustedSSLProtocolSocketFactory
public UntrustedSSLProtocolSocketFactory()
register
public static void register()
unregister
public static void unregister()
createSocket
public Socket createSocket(String host,
int port,
InetAddress clientHost,
int clientPort)
throws IOException,
UnknownHostException
- Specified by:
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory- Overrides:
createSocket in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
- Throws:
IOException
UnknownHostException
createSocket
public Socket createSocket(String host,
int port)
throws IOException,
UnknownHostException
- Specified by:
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory- Overrides:
createSocket in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
- Throws:
IOException
UnknownHostException
createSocket
public Socket createSocket(Socket socket,
String host,
int port,
boolean autoClose)
throws IOException,
UnknownHostException
- Specified by:
createSocket in interface org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory- Overrides:
createSocket in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
- Throws:
IOException
UnknownHostException
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.