Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-4296

Start Derby NetworkServerControl with credentials to prevent unauthorized shutdowns

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.3, 2.1.3, 2.1.4, 2.2
    • 2.1.7, 2.2.1
    • databases
    • Security Level: public (Regular issues)
    • None

    Description

      Use the new NetworkServerControl support in Derby 10.4.1.3 and later to start our embedded Derby server with credentials, to prevent any other apps on localhost from stopping our Derby instance. The following Derby release note details the scenario and the new API -
      http://db.apache.org/derby/releases/release-10.4.1.3.html#Note+for+DERBY-3585

      We could either use random uid/pwd values to start the Derby server, which would be the most secure, but would keep other apps from using our Derby server. The other option, would be to set uid/pwd GBean attributes and default the to the default system/manager values and leave it up to the user to change them.

      Note: This may also require some Samples, Testsuite and Portlet chagnes to handle the required DB auth.

      Attachments

        1. G4296-Patch-branch-21.zip
          12 kB
          Hong Fang Han
        2. G4296-Patch-branch-22.zip
          12 kB
          Hong Fang Han

        Issue Links

          Activity

            People

              xuhaihong Haihong Xu
              drwoods Donald Woods
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: