Derby
  1. Derby
  2. DERBY-2470

No authentication required to restore a backup

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 10.2.2.0
    • Fix Version/s: None
    • Component/s: Tools
    • Environment:
      Java 1.6.0-b105
      Linux 2.6.20 i686
    • Urgency:
      Normal
    • Bug behavior facts:
      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.

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Juha Heljoranta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Development