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

Policies with multiple SystemPermissions are not handled well

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.11.1.1
    • 10.12.1.1
    • Services
    • 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

              knutanders Knut Anders Hatlen
              knutanders Knut Anders Hatlen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: