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

Native user authentication: improve wording of error message

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0
    • Fix Version/s: 10.9.1.0
    • Component/s: Services
    • Labels:
      None
    • Issue & fix info:
      Patch Available
    • Bug behavior facts:
      Security

      Description

      This error message no longer has a correct string: XCY05

      (quote from English locale):

      Invalid setting of the derby.authentication.provider property. This property cannot be set to NATIVE::LOCAL unless credentials for the database owner have been stored in the database using the SYSCS_UTIL.SYSCS_CREATE_USER procedure.

      This property should no longer ever need to be set to NATIVE::LOCAL: it is done automatically when the first user is created via SYSCS_UTIL.SYSCS_CREATE_USER.
      The wording should be adjusted. Note: Now, the property should never be set manually for native authentication via SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY, this is only meaningful for LOCAL credentials db, but this is done automatically since version 7 of the spec.

        Attachments

        1. derby-5742-01-aa-rewordMessage.diff
          0.8 kB
          Richard N. Hillegas
        2. derby-5742-01-ab-rewordMessage.diff
          0.8 kB
          Richard N. Hillegas
        3. repro2.sh
          0.5 kB
          Dag H. Wanvik

          Issue Links

            Activity

              People

              • Assignee:
                rhillegas Richard N. Hillegas
                Reporter:
                dagw Dag H. Wanvik
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: