Derby
  1. Derby
  2. DERBY-615

Get 95% of functional tests running under the SecurityManager when running derbyall

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.2.1.6
    • Component/s: Test
    • Labels:
      None
    • Bug behavior facts:
      Security

      Description

      Ensure that running derbyall tests all Derby's functionality works with a security manager and a correctly, minimally configured policy file. By minimally I mean just the fewset set of permissions required, hopefully in-line with the documentation. E.g. a policy file that allowed all permissions would work but would not be a good test of Derby.

      See http://wiki.apache.org/db-derby/SecurityManagerTesting

        Issue Links

          Activity

          Daniel John Debrunner created issue -
          Hide
          Daniel John Debrunner added a comment -

          Blocks DERBY-615 because granting this permission so widely in the policy file has the potential to hide security bugs as more tests are enabled to be run under the security manager.

          Show
          Daniel John Debrunner added a comment - Blocks DERBY-615 because granting this permission so widely in the policy file has the potential to hide security bugs as more tests are enabled to be run under the security manager.
          Daniel John Debrunner made changes -
          Field Original Value New Value
          Link This issue is blocked by DERBY-624 [ DERBY-624 ]
          Hide
          Daniel John Debrunner added a comment -

          Blocks 615 as without granting read permission to all code every test fails when run under the security manager, and granting such permission can hide bugs.

          Show
          Daniel John Debrunner added a comment - Blocks 615 as without granting read permission to all code every test fails when run under the security manager, and granting such permission can hide bugs.
          Daniel John Debrunner made changes -
          Link This issue is blocked by DERBY-626 [ DERBY-626 ]
          Daniel John Debrunner made changes -
          Type Improvement [ 4 ] Test [ 6 ]
          Hide
          Daniel John Debrunner added a comment -

          As of 2006/0407 95.4% of tests in derbyall run under the security manager!!

          See http://wiki.apache.org/db-derby/SecurityManagerTesting

          I think I will keep this bug open until every test that does not run under the security manager has an open Jira
          issue or valid reason in its _app.properties file.

          Show
          Daniel John Debrunner added a comment - As of 2006/0407 95.4% of tests in derbyall run under the security manager!! See http://wiki.apache.org/db-derby/SecurityManagerTesting I think I will keep this bug open until every test that does not run under the security manager has an open Jira issue or valid reason in its _app.properties file.
          Hide
          Daniel John Debrunner added a comment -

          95+% tests run under the security manager, all tests with noSecurityManager=true have a valid reason, are blocked by a bug or a specific bug is entered to address the test.

          Show
          Daniel John Debrunner added a comment - 95+% tests run under the security manager, all tests with noSecurityManager=true have a valid reason, are blocked by a bug or a specific bug is entered to address the test.
          Daniel John Debrunner made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          Dag H. Wanvik made changes -
          Derby Categories [Security]
          Dag H. Wanvik made changes -
          Component/s Security [ 11411 ]
          Dag H. Wanvik made changes -
          Issue Type Test [ 6 ] Task [ 3 ]
          Gavin made changes -
          Workflow jira [ 12331014 ] Default workflow, editable Closed status [ 12797697 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development