Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 43676 invoked from network); 6 Jul 2009 20:11:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jul 2009 20:11:29 -0000 Received: (qmail 70095 invoked by uid 500); 6 Jul 2009 20:11:39 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 70049 invoked by uid 500); 6 Jul 2009 20:11:38 -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 70041 invoked by uid 99); 6 Jul 2009 20:11:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 20:11:38 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 20:11:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D7046234C04C for ; Mon, 6 Jul 2009 13:11:14 -0700 (PDT) Message-ID: <1325620120.1246911074879.JavaMail.jira@brutus> Date: Mon, 6 Jul 2009 13:11:14 -0700 (PDT) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-2470) No authentication required to restore a backup In-Reply-To: <18830195.1174395812211.JavaMail.jira@brutus> 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/DERBY-2470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Hillegas updated DERBY-2470: --------------------------------- Urgency: Normal Triaged for 10.5.2: assigned normal urgency. > No authentication required to restore a backup > ---------------------------------------------- > > Key: DERBY-2470 > URL: https://issues.apache.org/jira/browse/DERBY-2470 > Project: Derby > Issue Type: Bug > Components: Tools > Affects Versions: 10.2.2.0 > Environment: Java 1.6.0-b105 > Linux 2.6.20 i686 > Reporter: Juha Heljoranta > > My Derby has following properties set: > derby.connection.requireAuthentication=true > derby.authentication.provider=BUILTIN > derby.database.defaultConnectionMode=noAccess > derby.database.fullAccessUsers=foo > derby.user.foo=bar > If I'll execute a restore statement from ij the backup will be restored plus it gives an authentication error: > ij> connect 'jdbc:derby:sample;restoreFrom=backup1'; > ERROR 08004: Connection refused : Invalid authentication > If I add the user and password arguments to the url then the restore works as before without the error message. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.