wrapper.disable_tests |
||||||||||
The WrapperManager class
contains several methods that are very useful for testing the Wrapper's failure modes,
but they can pose a security risk if untrusted code were to call them in a running system.
The Wrapper has supported the use of a Security Manager to control access to these and other functionalities since very early versions.
However, it is also possible to disable these test methods with the wrapper. Any JVM that is running untrusted code should implement a Security Manager, so it is normally safe to leave this property with its default value. The test methods are enabled by default with a value of "FALSE".
This property affects the use of the following methods: If any of the testing methods are called when tests have been disabled, they will cause an IllegalStateException to be thrown.
|