|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.http.Configurator org.jboss.soa.esb.http.configurators.HttpProtocol
public class HttpProtocol
HTTP Protocol configurator.
Supports both HTTP and HTTPS, including configuring the socket factory and SSL keystore. It supports the SSL keystore being on the classpath, filesystem or based on aURI
.
Properties:
KeyMaterial
. Defaults to "/keystore".KeyMaterial
. Defaults to "changeit".Protocol
. (Optional).
Defaults to StrictSSLProtocolSocketFactory
for HTTPS, otherwise defaults to DefaultProtocolSocketFactory
.
Configure with EasySSLProtocolSocketFactory
for unauthenticated
SSL. To authenticate with a self-signed certificate, use the
SelfSignedSSLProtocolSocketFactoryBuilder
(test/demo only) and to perform
full authentication (2way) with CA Signed certs, use the AuthSSLProtocolSocketFactoryBuilder
.
Constructor Summary | |
---|---|
HttpProtocol()
|
Method Summary | |
---|---|
void |
configure(org.apache.commons.httpclient.HttpClient httpClient,
java.util.Properties properties)
|
Methods inherited from class org.jboss.soa.esb.http.Configurator |
---|
assertPropertyIsInteger, assertPropertySetAndNotBlank, getPasswordFromFile, getTargetURI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpProtocol()
Method Detail |
---|
public void configure(org.apache.commons.httpclient.HttpClient httpClient, java.util.Properties properties) throws ConfigurationException
configure
in class Configurator
ConfigurationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |