Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D284100BB for ; Wed, 12 Jun 2013 20:06:21 +0000 (UTC) Received: (qmail 86261 invoked by uid 500); 12 Jun 2013 20:06:20 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 86213 invoked by uid 500); 12 Jun 2013 20:06:20 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 86135 invoked by uid 99); 12 Jun 2013 20:06:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jun 2013 20:06:20 +0000 Date: Wed, 12 Jun 2013 20:06:20 +0000 (UTC) From: "Oleg Kalnichevski (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-5071) Async Http transport: Injecting an sslSocketFactory in the tlsClientParameters has no effect MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-5071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13681574#comment-13681574 ] Oleg Kalnichevski commented on CXF-5071: ---------------------------------------- Aymeric, Blocking and non-blocking i/o models are very different and in many ways are not quite compatible. SSL support is one of those aspects that differ substantially. SocketFactory class and SocketFactory#createSocket methods in particular are inherently blocking and sockets instantiated in such a way cannot be used for asynchronous i/o. SSLContext class though is generic enough to be applicable to both blocking and non-blocking i/o models. (I presume CXF HTTP conduits can also be configured by providing a custom SSLContext). Oleg > Async Http transport: Injecting an sslSocketFactory in the tlsClientParameters has no effect > --------------------------------------------------------------------------------------------- > > Key: CXF-5071 > URL: https://issues.apache.org/jira/browse/CXF-5071 > Project: CXF > Issue Type: Bug > Components: Transports > Affects Versions: 2.7.5 > Reporter: Aymeric Levaux > > When using the async http transport, the sslSocketFactory injected in the tlsClientParameters is not taken into account. TLSClientParameters.getSSLSocketFactory() is only used in HttpsURLConnectionFactory. > This issue prevents the integration with custom JSSE implementations (e.g.: using the Websphere JSSEHelper to get a specific SSLSocketFactory). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira