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

          Juha Heljoranta created issue -
          Rick Hillegas made changes -
          Field Original Value New Value
          Link This issue is related to DERBY-2264 [ DERBY-2264 ]
          Dag H. Wanvik made changes -
          Link This issue is related to DERBY-2109 [ DERBY-2109 ]
          Dag H. Wanvik made changes -
          Derby Categories [Security]
          Dag H. Wanvik made changes -
          Component/s Security [ 11411 ]
          Dag H. Wanvik made changes -
          Component/s Tools [ 11414 ]
          Rick Hillegas made changes -
          Urgency Normal
          Kathey Marsden made changes -
          Labels derby_triage10_5_2
          Rick Hillegas made changes -
          Link This issue relates to DERBY-866 [ DERBY-866 ]
          Gavin made changes -
          Workflow jira [ 12399980 ] Default workflow, editable Closed status [ 12802109 ]

            People

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

              Dates

              • Created:
                Updated:

                Development