Class ServerConnFactoryBuilder

    • Constructor Detail

      • 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 Detail

      • 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,
                                                     RevocationVerificationManager 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,
                                                     RevocationVerificationManager verificationManager,
                                                     String sslProtocol,
                                                     org.wso2.securevault.SecretResolver secretResolver)
                                              throws org.apache.axis2.AxisFault
        Throws:
        org.apache.axis2.AxisFault
      • parseSSL

        public ServerConnFactoryBuilder parseSSL()
                                          throws org.apache.axis2.AxisFault
        Throws:
        org.apache.axis2.AxisFault
      • parseMultiProfileSSL

        public ServerConnFactoryBuilder parseMultiProfileSSL()
                                                      throws org.apache.axis2.AxisFault
        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