Class ServerConnFactoryBuilder
java.lang.Object
org.apache.synapse.transport.nhttp.config.ServerConnFactoryBuilder
- Direct Known Subclasses:
SSLServerConnFactoryBuilder
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServerConnFactoryBuilder(org.apache.axis2.description.TransportInDescription transportIn, org.apache.http.HttpHost host) ServerConnFactoryBuilder(org.apache.axis2.description.TransportInDescription transportIn, org.apache.http.HttpHost host, org.apache.axis2.context.ConfigurationContext configurationContext) -
Method Summary
Modifier and TypeMethodDescriptionbuild(org.apache.http.params.HttpParams params) protected SSLContextDetailscreateSSLContext(org.apache.axiom.om.OMElement keyStoreEl, org.apache.axiom.om.OMElement trustStoreEl, org.apache.axiom.om.OMElement cientAuthEl, org.apache.axiom.om.OMElement httpsProtocolsEl, org.apache.axiom.om.OMElement preferredCiphersEl, CertificateVerificationManager verificationManager, String sslProtocol) protected SSLContextDetailscreateSSLContext(org.apache.axiom.om.OMElement keyStoreEl, org.apache.axiom.om.OMElement trustStoreEl, org.apache.axiom.om.OMElement cientAuthEl, org.apache.axiom.om.OMElement httpsProtocolsEl, org.apache.axiom.om.OMElement preferredCiphersEl, CertificateVerificationManager verificationManager, String sslProtocol, org.wso2.securevault.SecretResolver secretResolver) org.apache.axis2.description.TransportInDescriptionLoads MultiProfileSSLConfiguration when the configuration is in a different file than axis2.xml.parseSSL()
-
Field Details
-
ssl
-
-
Constructor Details
-
ServerConnFactoryBuilder
public ServerConnFactoryBuilder(org.apache.axis2.description.TransportInDescription transportIn, org.apache.http.HttpHost host, org.apache.axis2.context.ConfigurationContext configurationContext) -
ServerConnFactoryBuilder
public ServerConnFactoryBuilder(org.apache.axis2.description.TransportInDescription transportIn, org.apache.http.HttpHost host)
-
-
Method Details
-
createSSLContext
protected SSLContextDetails createSSLContext(org.apache.axiom.om.OMElement keyStoreEl, org.apache.axiom.om.OMElement trustStoreEl, org.apache.axiom.om.OMElement cientAuthEl, org.apache.axiom.om.OMElement httpsProtocolsEl, org.apache.axiom.om.OMElement preferredCiphersEl, CertificateVerificationManager verificationManager, String sslProtocol) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-
createSSLContext
protected SSLContextDetails createSSLContext(org.apache.axiom.om.OMElement keyStoreEl, org.apache.axiom.om.OMElement trustStoreEl, org.apache.axiom.om.OMElement cientAuthEl, org.apache.axiom.om.OMElement httpsProtocolsEl, org.apache.axiom.om.OMElement preferredCiphersEl, CertificateVerificationManager verificationManager, String sslProtocol, org.wso2.securevault.SecretResolver secretResolver) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-
parseSSL
- Throws:
org.apache.axis2.AxisFault
-
parseMultiProfileSSL
- Throws:
org.apache.axis2.AxisFault
-
loadMultiProfileSSLConfig
public org.apache.axis2.description.TransportInDescription loadMultiProfileSSLConfig()Loads MultiProfileSSLConfiguration when the configuration is in a different file than axis2.xml. If the configuration file path is in axis2.xml and its successfully loaded, it will be added to transportIn as "SSLProfiles" parameter or else if it isn't loaded it will return null.- Returns:
-
build
public ServerConnFactory build(org.apache.http.params.HttpParams params) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-