Return-Path: X-Original-To: apmail-nifi-commits-archive@minotaur.apache.org Delivered-To: apmail-nifi-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9D661182AE for ; Mon, 13 Jul 2015 12:57:10 +0000 (UTC) Received: (qmail 58751 invoked by uid 500); 13 Jul 2015 12:57:10 -0000 Delivered-To: apmail-nifi-commits-archive@nifi.apache.org Received: (qmail 58723 invoked by uid 500); 13 Jul 2015 12:57:10 -0000 Mailing-List: contact commits-help@nifi.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.incubator.apache.org Delivered-To: mailing list commits@nifi.incubator.apache.org Received: (qmail 58714 invoked by uid 99); 13 Jul 2015 12:57:10 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2015 12:57:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 214FA182310 for ; Mon, 13 Jul 2015 12:57:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.97 X-Spam-Level: X-Spam-Status: No, score=0.97 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id tqLPrwUwEJQa for ; Mon, 13 Jul 2015 12:57:09 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id 376C643E1F for ; Mon, 13 Jul 2015 12:57:09 +0000 (UTC) Received: (qmail 57906 invoked by uid 99); 13 Jul 2015 12:57:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2015 12:57:08 +0000 Date: Mon, 13 Jul 2015 12:57:08 +0000 (UTC) From: "Mark Payne (JIRA)" To: commits@nifi.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (NIFI-762) Site-to-site client config implements Serializable but has non-Serializable member variable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Mark Payne created NIFI-762: ------------------------------- Summary: Site-to-site client config implements Serializable but has non-Serializable member variable Key: NIFI-762 URL: https://issues.apache.org/jira/browse/NIFI-762 Project: Apache NiFi Issue Type: Improvement Components: Tools and Build Reporter: Mark Payne Assignee: Mark Payne Fix For: 0.3.0 Right now, if we want to use the site-to-site client securely, we set the SSLContext on the configuration object. However, SSLContext is not serializable. It is important, however, to be able to set an SSLContext, rather than providing keystore and truststore properties directly. As a result, I suggest we implement both a Serializable form of the configuration and a non-serializable form. The non-serializable form can be configured with SSLContext while the serializable form would be configured with keystore and truststore filename, type, and password. -- This message was sent by Atlassian JIRA (v6.3.4#6332)