[jira] [Updated] (DERBY-7138) Remove references to the Java Security Manager

2022-05-10 Thread Richard N. Hillegas (Jira)


 [ 
https://issues.apache.org/jira/browse/DERBY-7138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard N. Hillegas updated DERBY-7138:
---
Attachment: derby-7138-18-aa-moreSecurityExceptions.diff

> Remove references to the Java Security Manager
> --
>
> Key: DERBY-7138
> URL: https://issues.apache.org/jira/browse/DERBY-7138
> Project: Derby
>  Issue Type: Task
>  Components: Build tools, Documentation
>Affects Versions: 10.16.0.0
>Reporter: Richard N. Hillegas
>Assignee: Richard N. Hillegas
>Priority: Major
> Attachments: DerbyServerTest.java, Z.java, 
> derby-3547-01-aa-policyGenerator.diff, 
> derby-7138-01-aa-removeSecurityManagerFromOldHarnessTests.diff, 
> derby-7138-02-ab-moveMethodsToTestConfiguration.diff, 
> derby-7138-03-aa-removePermissionsTests.diff, 
> derby-7138-04-ab-hostChangeInNetworkServerControlApiTest.diff, 
> derby-7138-05-aa-removeSecurityManager.diff, 
> derby-7138-06-aa-removeSecurityManagerSetup.diff, 
> derby-7138-07-aa-removePrivilegeBlocksFromTests.diff, 
> derby-7138-08-aa-removePolicyFiles.diff, 
> derby-7138-09-aa-removeMostProductPrivilegeFiles.diff, 
> derby-7138-10-aa-removeRemainingPrivilegeBlocks.diff, 
> derby-7138-11-aa-miscCleanup.diff, 
> derby-7138-12-aa-SYSCS_RELOAD_SECURITY_POLICY.diff, 
> derby-7138-13-aa-adjustUserDocumentation.diff, 
> derby-7138-13-aa-adjustUserDocumentation.tar, 
> derby-7138-14-aa-removeMoreDocReferences-1.tar, 
> derby-7138-14-aa-removeMoreDocReferences.diff, 
> derby-7138-14-aa-removeMoreDocReferences.tar, 
> derby-7138-16-aa-removeMoreReferences.diff, 
> derby-7138-17-ab-securityExceptions.diff, 
> derby-7138-18-aa-moreSecurityExceptions.diff, postSecurityManager.html
>
>
> The Open JDK team has deprecated the Java Security Manager and indicated that 
> it will be removed in a future release of Java. See 
> https://openjdk.java.net/jeps/411. In an email thread titled "protecting 
> security-sensitive operations on multi-tenant servers" on the 
> security-...@openjdk.java.net mailing list, Alan Bateman indicated that 
> developers should containerize their applications instead.
> This issue tracks work needed to remove Derby's references to the Java 
> Security Manager.
> At a minimum, the following work needs to be done:
> o The tests should be adjusted so that they don't install a SecurityManager.
> o References to the SecurityManager should be removed from product code.
> o We should remove the SecurityManager section of the Derby Security Guide. 
> In its place, we should recommend that developers containerize their Derby 
> applications.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (DERBY-7138) Remove references to the Java Security Manager

2022-05-10 Thread Richard N. Hillegas (Jira)


[ 
https://issues.apache.org/jira/browse/DERBY-7138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17534601#comment-17534601
 ] 

Richard N. Hillegas commented on DERBY-7138:


Attaching derby-7138-18-aa-moreSecurityExceptions.diff. This patch removes more 
straggling references to SecurityExceptions.

With this patch, tests pass cleanly with both the classpath and modulepath.

Touches the following files:

{noformat}
M   
java/org.apache.derby.tests/org/apache/derbyTesting/junit/ClassLoaderTestSetup.java
M   
java/org.apache.derby.tools/org/apache/derby/impl/tools/sysinfo/Main.java
{noformat}



> Remove references to the Java Security Manager
> --
>
> Key: DERBY-7138
> URL: https://issues.apache.org/jira/browse/DERBY-7138
> Project: Derby
>  Issue Type: Task
>  Components: Build tools, Documentation
>Affects Versions: 10.16.0.0
>Reporter: Richard N. Hillegas
>Assignee: Richard N. Hillegas
>Priority: Major
> Attachments: DerbyServerTest.java, Z.java, 
> derby-3547-01-aa-policyGenerator.diff, 
> derby-7138-01-aa-removeSecurityManagerFromOldHarnessTests.diff, 
> derby-7138-02-ab-moveMethodsToTestConfiguration.diff, 
> derby-7138-03-aa-removePermissionsTests.diff, 
> derby-7138-04-ab-hostChangeInNetworkServerControlApiTest.diff, 
> derby-7138-05-aa-removeSecurityManager.diff, 
> derby-7138-06-aa-removeSecurityManagerSetup.diff, 
> derby-7138-07-aa-removePrivilegeBlocksFromTests.diff, 
> derby-7138-08-aa-removePolicyFiles.diff, 
> derby-7138-09-aa-removeMostProductPrivilegeFiles.diff, 
> derby-7138-10-aa-removeRemainingPrivilegeBlocks.diff, 
> derby-7138-11-aa-miscCleanup.diff, 
> derby-7138-12-aa-SYSCS_RELOAD_SECURITY_POLICY.diff, 
> derby-7138-13-aa-adjustUserDocumentation.diff, 
> derby-7138-13-aa-adjustUserDocumentation.tar, 
> derby-7138-14-aa-removeMoreDocReferences-1.tar, 
> derby-7138-14-aa-removeMoreDocReferences.diff, 
> derby-7138-14-aa-removeMoreDocReferences.tar, 
> derby-7138-16-aa-removeMoreReferences.diff, 
> derby-7138-17-ab-securityExceptions.diff, 
> derby-7138-18-aa-moreSecurityExceptions.diff, postSecurityManager.html
>
>
> The Open JDK team has deprecated the Java Security Manager and indicated that 
> it will be removed in a future release of Java. See 
> https://openjdk.java.net/jeps/411. In an email thread titled "protecting 
> security-sensitive operations on multi-tenant servers" on the 
> security-...@openjdk.java.net mailing list, Alan Bateman indicated that 
> developers should containerize their applications instead.
> This issue tracks work needed to remove Derby's references to the Java 
> Security Manager.
> At a minimum, the following work needs to be done:
> o The tests should be adjusted so that they don't install a SecurityManager.
> o References to the SecurityManager should be removed from product code.
> o We should remove the SecurityManager section of the Derby Security Guide. 
> In its place, we should recommend that developers containerize their Derby 
> applications.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (DERBY-7138) Remove references to the Java Security Manager

2022-05-10 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/DERBY-7138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17534453#comment-17534453
 ] 

ASF subversion and git services commented on DERBY-7138:


Commit 1900787 from Richard N. Hillegas in branch 'code/trunk'
[ https://svn.apache.org/r1900787 ]

DERBY-7138: Remove many references to SecurityExceptions; commit 
derby-7138-17-ab-securityExceptions.diff.

> Remove references to the Java Security Manager
> --
>
> Key: DERBY-7138
> URL: https://issues.apache.org/jira/browse/DERBY-7138
> Project: Derby
>  Issue Type: Task
>  Components: Build tools, Documentation
>Affects Versions: 10.16.0.0
>Reporter: Richard N. Hillegas
>Assignee: Richard N. Hillegas
>Priority: Major
> Attachments: DerbyServerTest.java, Z.java, 
> derby-3547-01-aa-policyGenerator.diff, 
> derby-7138-01-aa-removeSecurityManagerFromOldHarnessTests.diff, 
> derby-7138-02-ab-moveMethodsToTestConfiguration.diff, 
> derby-7138-03-aa-removePermissionsTests.diff, 
> derby-7138-04-ab-hostChangeInNetworkServerControlApiTest.diff, 
> derby-7138-05-aa-removeSecurityManager.diff, 
> derby-7138-06-aa-removeSecurityManagerSetup.diff, 
> derby-7138-07-aa-removePrivilegeBlocksFromTests.diff, 
> derby-7138-08-aa-removePolicyFiles.diff, 
> derby-7138-09-aa-removeMostProductPrivilegeFiles.diff, 
> derby-7138-10-aa-removeRemainingPrivilegeBlocks.diff, 
> derby-7138-11-aa-miscCleanup.diff, 
> derby-7138-12-aa-SYSCS_RELOAD_SECURITY_POLICY.diff, 
> derby-7138-13-aa-adjustUserDocumentation.diff, 
> derby-7138-13-aa-adjustUserDocumentation.tar, 
> derby-7138-14-aa-removeMoreDocReferences-1.tar, 
> derby-7138-14-aa-removeMoreDocReferences.diff, 
> derby-7138-14-aa-removeMoreDocReferences.tar, 
> derby-7138-16-aa-removeMoreReferences.diff, 
> derby-7138-17-ab-securityExceptions.diff, postSecurityManager.html
>
>
> The Open JDK team has deprecated the Java Security Manager and indicated that 
> it will be removed in a future release of Java. See 
> https://openjdk.java.net/jeps/411. In an email thread titled "protecting 
> security-sensitive operations on multi-tenant servers" on the 
> security-...@openjdk.java.net mailing list, Alan Bateman indicated that 
> developers should containerize their applications instead.
> This issue tracks work needed to remove Derby's references to the Java 
> Security Manager.
> At a minimum, the following work needs to be done:
> o The tests should be adjusted so that they don't install a SecurityManager.
> o References to the SecurityManager should be removed from product code.
> o We should remove the SecurityManager section of the Derby Security Guide. 
> In its place, we should recommend that developers containerize their Derby 
> applications.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (DERBY-7138) Remove references to the Java Security Manager

2022-05-10 Thread Richard N. Hillegas (Jira)


[ 
https://issues.apache.org/jira/browse/DERBY-7138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17534452#comment-17534452
 ] 

Richard N. Hillegas commented on DERBY-7138:


Attaching derby-7138-17-ab-securityExceptions.diff. This patch removes some 
straggling references to SecurityExceptions.

With this patch, tests pass cleanly with both the classpath and modulepath.

Touches the following files:

{noformat}
M   java/build/org/apache/derbyBuild/ClassSizeCrawler.java
M   
java/org.apache.derby.client/org/apache/derby/client/net/NetXAResource.java
M   
java/org.apache.derby.commons/org/apache/derby/shared/common/info/JVMInfo.java
M   
java/org.apache.derby.engine/org/apache/derby/iapi/jdbc/DRDAServerStarter.java
M   
java/org.apache.derby.engine/org/apache/derby/iapi/services/loader/ClassInfo.java
M   
java/org.apache.derby.engine/org/apache/derby/iapi/services/loader/ClassInspector.java
M   
java/org.apache.derby.engine/org/apache/derby/iapi/services/monitor/ModuleFactory.java
M   
java/org.apache.derby.engine/org/apache/derby/iapi/services/property/PropertyUtil.java
M   
java/org.apache.derby.engine/org/apache/derby/impl/load/ImportReadData.java
M   
java/org.apache.derby.engine/org/apache/derby/impl/services/jce/JCECipherFactory.java
M   
java/org.apache.derby.engine/org/apache/derby/impl/services/monitor/BaseMonitor.java
M   
java/org.apache.derby.engine/org/apache/derby/impl/services/monitor/FileMonitor.java
M   
java/org.apache.derby.engine/org/apache/derby/impl/services/monitor/StorageFactoryService.java
M   
java/org.apache.derby.engine/org/apache/derby/impl/services/reflect/JarLoader.java
M   
java/org.apache.derby.engine/org/apache/derby/impl/services/stream/RollingFileStream.java
M   
java/org.apache.derby.engine/org/apache/derby/impl/services/stream/RollingFileStreamProvider.java
M   
java/org.apache.derby.engine/org/apache/derby/impl/services/stream/SingleStream.java
M   
java/org.apache.derby.engine/org/apache/derby/impl/services/timer/SingletonTimerFactory.java
M   
java/org.apache.derby.engine/org/apache/derby/impl/sql/compile/BinaryListOperatorNode.java
M   
java/org.apache.derby.engine/org/apache/derby/impl/store/raw/data/RAFContainer.java
M   
java/org.apache.derby.engine/org/apache/derby/impl/store/raw/data/StreamFileContainer.java
M   
java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/jdbc4/StatementTest.java
M   
java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/jdbcapi/AutoloadTest.java
M   
java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/management/CacheManagerMBeanTest.java
M   
java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/util/PrivilegedFileOpsForTests.java
M   
java/org.apache.derby.tests/org/apache/derbyTesting/unitTests/harness/BasicUnitTestManager.java
{noformat}


> Remove references to the Java Security Manager
> --
>
> Key: DERBY-7138
> URL: https://issues.apache.org/jira/browse/DERBY-7138
> Project: Derby
>  Issue Type: Task
>  Components: Build tools, Documentation
>Affects Versions: 10.16.0.0
>Reporter: Richard N. Hillegas
>Assignee: Richard N. Hillegas
>Priority: Major
> Attachments: DerbyServerTest.java, Z.java, 
> derby-3547-01-aa-policyGenerator.diff, 
> derby-7138-01-aa-removeSecurityManagerFromOldHarnessTests.diff, 
> derby-7138-02-ab-moveMethodsToTestConfiguration.diff, 
> derby-7138-03-aa-removePermissionsTests.diff, 
> derby-7138-04-ab-hostChangeInNetworkServerControlApiTest.diff, 
> derby-7138-05-aa-removeSecurityManager.diff, 
> derby-7138-06-aa-removeSecurityManagerSetup.diff, 
> derby-7138-07-aa-removePrivilegeBlocksFromTests.diff, 
> derby-7138-08-aa-removePolicyFiles.diff, 
> derby-7138-09-aa-removeMostProductPrivilegeFiles.diff, 
> derby-7138-10-aa-removeRemainingPrivilegeBlocks.diff, 
> derby-7138-11-aa-miscCleanup.diff, 
> derby-7138-12-aa-SYSCS_RELOAD_SECURITY_POLICY.diff, 
> derby-7138-13-aa-adjustUserDocumentation.diff, 
> derby-7138-13-aa-adjustUserDocumentation.tar, 
> derby-7138-14-aa-removeMoreDocReferences-1.tar, 
> derby-7138-14-aa-removeMoreDocReferences.diff, 
> derby-7138-14-aa-removeMoreDocReferences.tar, 
> derby-7138-16-aa-removeMoreReferences.diff, 
> derby-7138-17-ab-securityExceptions.diff, postSecurityManager.html
>
>
> The Open JDK team has deprecated the Java Security Manager and indicated that 
> it will be removed in a future release of Java. See 
> https://openjdk.java.net/jeps/411. In an email thread titled "protecting 
> security-sensitive operations on multi-tenant servers" on the 
> security-...@openjdk.java.net mailing list, Alan Bateman indicated that 
> developers should containerize their applications 

[jira] [Updated] (DERBY-7138) Remove references to the Java Security Manager

2022-05-10 Thread Richard N. Hillegas (Jira)


 [ 
https://issues.apache.org/jira/browse/DERBY-7138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard N. Hillegas updated DERBY-7138:
---
Attachment: derby-7138-17-ab-securityExceptions.diff

> Remove references to the Java Security Manager
> --
>
> Key: DERBY-7138
> URL: https://issues.apache.org/jira/browse/DERBY-7138
> Project: Derby
>  Issue Type: Task
>  Components: Build tools, Documentation
>Affects Versions: 10.16.0.0
>Reporter: Richard N. Hillegas
>Assignee: Richard N. Hillegas
>Priority: Major
> Attachments: DerbyServerTest.java, Z.java, 
> derby-3547-01-aa-policyGenerator.diff, 
> derby-7138-01-aa-removeSecurityManagerFromOldHarnessTests.diff, 
> derby-7138-02-ab-moveMethodsToTestConfiguration.diff, 
> derby-7138-03-aa-removePermissionsTests.diff, 
> derby-7138-04-ab-hostChangeInNetworkServerControlApiTest.diff, 
> derby-7138-05-aa-removeSecurityManager.diff, 
> derby-7138-06-aa-removeSecurityManagerSetup.diff, 
> derby-7138-07-aa-removePrivilegeBlocksFromTests.diff, 
> derby-7138-08-aa-removePolicyFiles.diff, 
> derby-7138-09-aa-removeMostProductPrivilegeFiles.diff, 
> derby-7138-10-aa-removeRemainingPrivilegeBlocks.diff, 
> derby-7138-11-aa-miscCleanup.diff, 
> derby-7138-12-aa-SYSCS_RELOAD_SECURITY_POLICY.diff, 
> derby-7138-13-aa-adjustUserDocumentation.diff, 
> derby-7138-13-aa-adjustUserDocumentation.tar, 
> derby-7138-14-aa-removeMoreDocReferences-1.tar, 
> derby-7138-14-aa-removeMoreDocReferences.diff, 
> derby-7138-14-aa-removeMoreDocReferences.tar, 
> derby-7138-16-aa-removeMoreReferences.diff, 
> derby-7138-17-ab-securityExceptions.diff, postSecurityManager.html
>
>
> The Open JDK team has deprecated the Java Security Manager and indicated that 
> it will be removed in a future release of Java. See 
> https://openjdk.java.net/jeps/411. In an email thread titled "protecting 
> security-sensitive operations on multi-tenant servers" on the 
> security-...@openjdk.java.net mailing list, Alan Bateman indicated that 
> developers should containerize their applications instead.
> This issue tracks work needed to remove Derby's references to the Java 
> Security Manager.
> At a minimum, the following work needs to be done:
> o The tests should be adjusted so that they don't install a SecurityManager.
> o References to the SecurityManager should be removed from product code.
> o We should remove the SecurityManager section of the Derby Security Guide. 
> In its place, we should recommend that developers containerize their Derby 
> applications.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)