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

Policies with multiple SystemPermissions are not handled well

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.11.1.1
    • Fix Version/s: 10.12.1.1
    • Component/s: Services
    • Labels:
      None

      Description

      Rick noted in DERBY-6648 that if you wanted to grant both SystemPermission("engine", "monitor") and SystemPermission("engine", "usederbyinternals") to a code base, the following would work:

      permission org.apache.derby.security.SystemPermission "engine", "monitor,usederbyinternals";

      However, the following does not work:

      permission org.apache.derby.security.SystemPermission "engine", "usederbyinternals";
      permission org.apache.derby.security.SystemPermission "engine", "monitor";

        Attachments

        1. d6717-1a.diff
          16 kB
          Knut Anders Hatlen
        2. d6717-2a-more-tests.diff
          2 kB
          Knut Anders Hatlen

          Issue Links

            Activity

              People

              • Assignee:
                knutanders Knut Anders Hatlen
                Reporter:
                knutanders Knut Anders Hatlen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: