Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 69885 invoked from network); 20 Feb 2007 17:56:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Feb 2007 17:56:27 -0000 Received: (qmail 22500 invoked by uid 500); 20 Feb 2007 17:56:34 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 22472 invoked by uid 500); 20 Feb 2007 17:56:34 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 22461 invoked by uid 99); 20 Feb 2007 17:56:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Feb 2007 09:56:34 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Feb 2007 09:56:25 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AE6507141A3 for ; Tue, 20 Feb 2007 09:56:05 -0800 (PST) Message-ID: <14533540.1171994165711.JavaMail.jira@brutus> Date: Tue, 20 Feb 2007 09:56:05 -0800 (PST) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-2356) Make SSL server authentication optional In-Reply-To: <2936069.1171894985818.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474512 ] Kristian Waagan commented on DERBY-2356: ---------------------------------------- Just a few quick comments! 1) Typo in Property.java [drda.NaiveTrustManager] 2) Strange sentence in JavaDoc for getSocketFactory() 3) No JavaDoc for the other methods. Are these documented elsewhere? For instance, what form/value is authType supposed to have? 4) Could getAcceptedIssuers() return an empty array instead of null? [NetworkServerControlImpl] 5) I guess SSL_OFF and default are the same for now. It would be nice with a comment to document the fall-through. 6) Long line/missing newline in getSSLModeValue [net.NaiveTrustManager] 7) See items 2-4. [NetConnection] 8) Several long lines. Was long before, but maybe it is possible to break some of them? [OpenSocketAction] 9) Document fall-through in switch? There also seems to be a mix of tabs and spaces in the changed code. Even though the code already contains both, it would be nice to stick to one alternative when adding/changing lines. I'll give the functionality a try tomorrow! Thanks, > Make SSL server authentication optional > --------------------------------------- > > Key: DERBY-2356 > URL: https://issues.apache.org/jira/browse/DERBY-2356 > Project: Derby > Issue Type: Improvement > Components: Network Client, Network Server > Affects Versions: 10.3.0.0 > Reporter: Bernt M. Johnsen > Assigned To: Bernt M. Johnsen > Fix For: 10.3.0.0 > > Attachments: derby-2356-v1.diff, derby-2356-v1.stat, SSLFuncSpect.txt > > > Default SSL behaviour is to require serer authentication. For a database application this is not as important as it is for web browsers and also creates som extra hassle for the user/application programmer. Since the main objective for SSL in Derby is encryption on the wire, server authentication should be optional (the same way client authentication is). > This also creates some symmetry which can be exploited to simplify the user interfce somewhat. This improvement to DERBY-2108 is described in the attached functional specification. See the attachment for details. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.