In chapter 5.3. Run JBoss EAP 6 Within the Java Security Manager there is procedure for setting security manager, but it doesn't work on windows (there are standalone.conf.bat instead of standalone.conf, propetry are set through % instead of $ etc.). I think it should be explicitly mention it this procedure.
Examples are not correct: 1) remove -Djava.security.debug=access:failure from all examples - it's a property which enables debugging and it's usually not used on production systems. We cover this property in another section of the chapter. 2) Example 6.1. domain.conf - the JBOSS_HOME variable is not available in domain conf (cf. bug #1083474), so full path must be used. 3) Example 6.2. domain.conf.bat - neither $PWD nor $JBOSS_HOME available (and wrong variable expansion used) - full paths should be used 4) Example 6.4. standalone.conf.bat - $PWD not available and wrong variable expansion for JBOSS_HOME - it should be %JBOSS_HOME%
Verified on Revision 6.2.2-7