10.13 Do not run applications as privileged

Information

Setting the privileged attribute for an application changes the class loader to the Server class loader instead of the Shared class loader.

Rationale:

Running an application in privileged mode allows an application to load the manager libraries.

Solution

Set the privileged attribute in all context.xml files to false unless it is required as for the manager application:

<Context ... privileged='false' />

Default Value:

By default, privileged has a value of false.

See Also

https://workbench.cisecurity.org/files/4107