]
James Perkins updated WFCORE-94:
--------------------------------
Summary: Add -secmgr to startup scripts and propagate -secmgr through the domain
(was: Add MODULE_OPTS to startup scripts and propagate -secmgr through the domain)
Add -secmgr to startup scripts and propagate -secmgr through the
domain
-----------------------------------------------------------------------
Key: WFCORE-94
URL:
https://issues.jboss.org/browse/WFCORE-94
Project: WildFly Core
Issue Type: Feature Request
Components: Domain Management, Scripts
Reporter: Kabir Khan
Assignee: James Perkins
Fix For: 1.0.0.Alpha9
The preferred mechanism to enable a security manager is to use the -secmgr module option.
Modify the scripts to make this easier to add, and make adjustments to propagate this
through the domain.
The -secmgr module option is not visible from the launched process, so for the process
controller and host controller to pass that on to the started host controller or server
process respectively, a check is added to see if a security manager was enabeld. If a
security manager is enabled, and -Djava.security.manager is not present in the system
properties, we add the -secmgr module option when starting the next process.