]
Tomaz Cerar updated WFCORE-94:
------------------------------
Component/s: Scripts
(was: Domain Management)
Add MODULE_OPTS 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: Scripts
Reporter: Kabir Khan
Assignee: Kabir Khan
Fix For: 1.0.0.Alpha6
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.