Derby
  1. Derby
  2. DERBY-3282

Add a mechanism for managing users in Derby

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Services
    • Labels:
      None
    • Bug behavior facts:
      Security

      Description

      Currently, managing users in Derby is awkward. The BUILTIN mechanism seems appropriate for testing purposes, but has problems in a production setting. DERBY-866 describes part of a new mechanism for managing users. DERBY-866 may be part of the right solution--or it may not be. I think it would be worthwhile to step back from this issue and first describe at a high level what the customer experience should be. By introducing a new mechanism, we have the opportunity to think through the complete experience of user management. Here are my initial thoughts:

      1) This mechanism is mutually exclusive with the currently supported settings of the derby.authentication.provider property.

      2) There should be a super user who has the power to create, view, and drop users, including database owners. The design should let this super user delegate these powers to other users.

      3) In the new mechanism it is sufficient that user credentials are system-wide.

      4) Database owners should nevertheless have the power to state which usernames can connect to their databases. DBOs should also have the power to state who can shut down their databases. This mechanism should be extensible to managing other database-specific powers which fall outside the SQL spec. The design should let the DBO delegate these powers to other users.

      5) Users should be able to change their own credentials whenever they want.

      6) No password needed for this mechanism should be stored in plaintext anywhere on the system.

        Issue Links

          Activity

          Rick Hillegas created issue -
          Rick Hillegas made changes -
          Field Original Value New Value
          Link This issue relates to DERBY-866 [ DERBY-866 ]
          Rick Hillegas made changes -
          Link This issue relates to DERBY-4156 [ DERBY-4156 ]
          Dag H. Wanvik made changes -
          Derby Categories [Security]
          Dag H. Wanvik made changes -
          Component/s Security [ 11411 ]
          Dag H. Wanvik made changes -
          Component/s Services [ 11415 ]
          Rick Hillegas made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Duplicate [ 3 ]
          Gavin made changes -
          Workflow jira [ 12419426 ] Default workflow, editable Closed status [ 12802107 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Rick Hillegas
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development