Derby
  1. Derby
  2. DERBY-2738

Connection.isReadOnly() returns false for network client when connection is read-only due to connection level authorization.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6, 10.2.2.0, 10.3.1.4
    • Fix Version/s: None
    • Component/s: Network Client
    • Urgency:
      Normal
    • Bug behavior facts:
      Embedded/Client difference, Security

      Description

      If a user has been set to read-only status using connection level authorization (e.g. is listed in derby.database.readOnlyAccessUsers) then embedded will return true for Connection.isReadOnly() but network server returns false.

        Issue Links

          Activity

          Hide
          Rick Hillegas added a comment -

          Triaged for 10.5.2: Assigned normal urgency and flagged as difference between client and embedded usage.

          Show
          Rick Hillegas added a comment - Triaged for 10.5.2: Assigned normal urgency and flagged as difference between client and embedded usage.
          Hide
          Daniel John Debrunner added a comment -

          DERBY-2738 is related to DERBY-911 but not the same.

          Show
          Daniel John Debrunner added a comment - DERBY-2738 is related to DERBY-911 but not the same.
          Hide
          Daniel John Debrunner added a comment -

          jdbcapi.AuthenticationTest has a comment with this bug number where the isReadOnly call is only asserted for embedded.

          Show
          Daniel John Debrunner added a comment - jdbcapi.AuthenticationTest has a comment with this bug number where the isReadOnly call is only asserted for embedded.

            People

            • Assignee:
              Unassigned
              Reporter:
              Daniel John Debrunner
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Development