Geronimo
  1. Geronimo
  2. GERONIMO-5679

Enable derby.connection.requireAuthentication system property so that derby can be set without authentication.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

      Now the derby related code does not care about system property "derby.connection.requireAuthentication", we need to enable its usage.

      1. G5679.patch
        4 kB
        viola.lu
      2. G5679_22.patch
        3 kB
        viola.lu
      3. G5679_21.patch
        3 kB
        viola.lu
      4. G5679_Embeded_21.patch
        1 kB
        viola.lu
      5. G5679_Embeded_22.patch
        1 kB
        viola.lu

        Activity

        viola.lu made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Hide
        viola.lu added a comment -

        Close it.

        Show
        viola.lu added a comment - Close it.
        Hide
        Shawn Jiang added a comment -

        the embedded derby patch was committed to 22@r1034263, and 21@r1034264. Thanks Viola for the patch.

        Show
        Shawn Jiang added a comment - the embedded derby patch was committed to 22@r1034263, and 21@r1034264. Thanks Viola for the patch.
        viola.lu made changes -
        Attachment G5679_Embeded_21.patch [ 12459355 ]
        Attachment G5679_Embeded_22.patch [ 12459356 ]
        Hide
        viola.lu added a comment - - edited

        This patch is to provide a disable user authentication option for embedded derby. Now -Dderby.connection.requireAuthentication=false also can work against jdbc:derby;[your_db], and make sure you are in the same vm as db you connect. Pls review it. thanks.

        Show
        viola.lu added a comment - - edited This patch is to provide a disable user authentication option for embedded derby. Now -Dderby.connection.requireAuthentication=false also can work against jdbc:derby; [your_db] , and make sure you are in the same vm as db you connect. Pls review it. thanks.
        viola.lu made changes -
        Attachment G5679_22.patch [ 12459234 ]
        Attachment G5679_21.patch [ 12459235 ]
        Hide
        viola.lu added a comment -

        attach patch for 21 and 22.

        Show
        viola.lu added a comment - attach patch for 21 and 22.
        viola.lu made changes -
        Field Original Value New Value
        Attachment G5679.patch [ 12459232 ]
        Hide
        viola.lu added a comment -

        Now after set GERONIMO_OPTS="-Dderby.connection.requireAuthentication=false", will disable client authentication. You can directly connect databases with ij> connect 'jdbc:derby://<ip>:1527/SystemDatabase';
        pls review it.

        Show
        viola.lu added a comment - Now after set GERONIMO_OPTS="-Dderby.connection.requireAuthentication=false", will disable client authentication. You can directly connect databases with ij> connect 'jdbc:derby://<ip>:1527/SystemDatabase'; pls review it.
        Forrest Xia created issue -

          People

          • Assignee:
            viola.lu
            Reporter:
            Forrest Xia
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development