Issue Details (XML | Word | Printable)

Key: DERBY-615
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Daniel John Debrunner
Reporter: Daniel John Debrunner
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

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

Created: 12/Oct/05 02:41 AM   Updated: 01/Jul/09 12:04 AM
Return to search
Component/s: Test
Affects Version/s: None
Fix Version/s: 10.2.1.6

Time Tracking:
Not Specified

Issue Links:
Blocker
 

Bug behavior facts: Security
Resolution Date: 20/Jul/06 12:31 AM


 Description  « Hide
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

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Daniel John Debrunner added a comment - 13/Oct/05 11:13 PM
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 added a comment - 15/Oct/05 03:57 AM
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 added a comment - 08/Apr/06 04:28 AM
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.

Daniel John Debrunner added a comment - 20/Jul/06 12:31 AM
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.