Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2470

No authentication required to restore a backup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.2.2.0
    • None
    • Tools
    • Java 1.6.0-b105
      Linux 2.6.20 i686
    • Normal
    • Security

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              reggadyo Juha Heljoranta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: