org.jboss.soa.esb.http.protocol
Class SelfSignedSSLProtocolSocketFactoryBuilder

java.lang.Object
  extended by org.jboss.soa.esb.http.protocol.AbstractProtocolSocketFactoryBuilder
      extended by org.jboss.soa.esb.http.protocol.SelfSignedSSLProtocolSocketFactoryBuilder
All Implemented Interfaces:
ProtocolSocketFactoryBuilder

public class SelfSignedSSLProtocolSocketFactoryBuilder
extends AbstractProtocolSocketFactoryBuilder

Builder for creating a ProtocolSocketFactory that supports Self-Signed Server certificates.

For test/demo purposes only.

Author:
tom.fennelly@jboss.com

Constructor Summary
SelfSignedSSLProtocolSocketFactoryBuilder()
           
 
Method Summary
 org.apache.commons.httpclient.protocol.ProtocolSocketFactory newInstance()
          Create a new instance of the ProtocolSocketFactory based on the supplied HttpClientFactory configuration.
 
Methods inherited from class org.jboss.soa.esb.http.protocol.AbstractProtocolSocketFactoryBuilder
getKeystore, getKeystorePassword, getKeystoreType, getKeystoreURL, getTruststore, getTruststorePassword, getTruststoreType, getTruststoreURL, setConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelfSignedSSLProtocolSocketFactoryBuilder

public SelfSignedSSLProtocolSocketFactoryBuilder()
Method Detail

newInstance

public org.apache.commons.httpclient.protocol.ProtocolSocketFactory newInstance()
                                                                         throws ConfigurationException
Description copied from interface: ProtocolSocketFactoryBuilder
Create a new instance of the ProtocolSocketFactory based on the supplied HttpClientFactory configuration.

Returns:
The configured ProtocolSocketFactory implementation.
Throws:
ConfigurationException - Bad configuration.