Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 1619 invoked from network); 29 Sep 2009 18:34:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Sep 2009 18:34:07 -0000 Received: (qmail 70171 invoked by uid 500); 29 Sep 2009 18:34:07 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 70128 invoked by uid 500); 29 Sep 2009 18:34:07 -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 70120 invoked by uid 99); 29 Sep 2009 18:34:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 18:34:07 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [192.18.6.24] (HELO gmp-eb-inf-2.sun.com) (192.18.6.24) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 18:33:55 +0000 Received: from fe-emea-10.sun.com (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged)) by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n8TIXYEa011916 for ; Tue, 29 Sep 2009 18:33:34 GMT MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <0KQQ00F00WK1C100@fe-emea-10.sun.com> for derby-dev@db.apache.org; Tue, 29 Sep 2009 19:33:05 +0100 (BST) Received: from khepri23.norway.sun.com ([unknown] [129.159.112.235]) by fe-emea-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <0KQQ00LTLWV3QS00@fe-emea-10.sun.com> for derby-dev@db.apache.org; Tue, 29 Sep 2009 19:33:05 +0100 (BST) Date: Tue, 29 Sep 2009 20:33:02 +0200 From: Dag.Wanvik@Sun.COM (Dag H. Wanvik) Subject: Re: [jira] Commented: (DERBY-4377) Developer's Guide statement on shutting down Derby needs qualification In-reply-to: Sender: Dag.Wanvik@Sun.COM To: derby-dev@db.apache.org Message-id: References: <1662151398.1253645655983.JavaMail.jira@brutus> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.1 (usg-unix-v) X-Virus-Checked: Checked by ClamAV on apache.org Dag.Wanvik@Sun.COM (Dag H. Wanvik) writes: > "Francois Orsini (JIRA)" writes: > >> If you have enabled Derby's BUILTIN user authentication and created >> some user at the system level (for example, by setting some username >> and password in the derby.properties file), you will need to specify >> credentials (e.g. username and password) in order to shut down a >> Derby system. > > So if I understand this correctly; if users are defined only on the > database level (but BUILTIN user authentication is defined at the > system level), it will still be possible to shut down a Derby system > *without* supplying credentials? Actually not. I tested this, and there needs to be defined at least one user at the system level for a shutdown to work. So a more precise wording would be: "If you have enabled Derby's BUILTIN user authentication at the system level (for example, by setting the property derby.connection.requireAuthentication=true in the derby.properties file), you will need to specify credentials (e.g. username and password) in order to shut down a Derby system *and* the supplied username/password must also be defined at the system level."