Return-Path: Delivered-To: apmail-mina-dev-archive@www.apache.org Received: (qmail 72906 invoked from network); 1 Dec 2010 08:33:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Dec 2010 08:33:39 -0000 Received: (qmail 52578 invoked by uid 500); 1 Dec 2010 08:33:39 -0000 Delivered-To: apmail-mina-dev-archive@mina.apache.org Received: (qmail 51547 invoked by uid 500); 1 Dec 2010 08:33:36 -0000 Mailing-List: contact dev-help@mina.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mina.apache.org Delivered-To: mailing list dev@mina.apache.org Received: (qmail 51525 invoked by uid 99); 1 Dec 2010 08:33:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 08:33:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 08:33:33 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oB18XBKr006321 for ; Wed, 1 Dec 2010 08:33:11 GMT Message-ID: <4995978.43581291192391482.JavaMail.jira@thor> Date: Wed, 1 Dec 2010 03:33:11 -0500 (EST) From: "Niklas Gustavsson (JIRA)" To: dev@mina.apache.org Subject: [jira] Closed: (VYSPER-255) XMPPServer.setTLSCertificateInfo(File) should be replaced or another overloaded added that takes a InputStream. In-Reply-To: <15032855.40701291172290930.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/VYSPER-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Gustavsson closed VYSPER-255. ------------------------------------ Resolution: Fixed Fix Version/s: (was: 0.6) 0.7 Assignee: Niklas Gustavsson Fixed in rev 1040889 > XMPPServer.setTLSCertificateInfo(File) should be replaced or another overloaded added that takes a InputStream. > --------------------------------------------------------------------------------------------------------------- > > Key: VYSPER-255 > URL: https://issues.apache.org/jira/browse/VYSPER-255 > Project: VYSPER > Issue Type: Improvement > Environment: n/a > Reporter: Miroslav Pokorny > Assignee: Niklas Gustavsson > Fix For: 0.7 > > > When setting up a server it is required to set the tls cert but the only way to supply the cert is via a File which is limiting. I would like to suggest that an extra overload setTLSConnectionInfo(InputStream cert, String password) be created, with perhaps the File version removed at the very least. > final XMPPServer server = new XMPPServer(HOST.address()); > ... > final File certificate = this.fileWithCertification(); > server.setTLSCertificateInfo(certificate, "boguspw"); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.