db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juha Heljoranta (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-2470) No authentication required to restore a backup
Date Tue, 20 Mar 2007 13:03:32 GMT
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: Security
    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.


Mime
View raw message