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

Message XCY05 for NATIVE authentication is (too?) complex

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.9.1.0
    • 10.9.1.0
    • Services
    • None

    Description

      The error message XCY05 is rather complex:
      Invalid change of the derby.authentication.provider property. Once set to NATIVE authentication, this property cannot be changed. NATIVE::LOCAL is the only NATIVE value accepted by derby.authentication.provider. 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.

      I'd be in favor of simplifying this error message if possible, especially raising a more specific message for the error condition when the DBO hasn't been added as a user.
      Further, it was not clear to me that the information about derby.authentication.provider applies when setting it as a database property only.
      Is this message trying to describe three problem scenarios?
      a) Turning off NATIVE authentication is forbidden.
      b) Specifying an invalid value for derby.authentication.provider when set as a database property.
      c) Missing credentials for the DBO.

      Attachments

        1. derby-5657-01-aa-splitMessage.diff
          4 kB
          Richard N. Hillegas

        Issue Links

          Activity

            People

              rhillegas Richard N. Hillegas
              kristwaa Kristian Waagan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: