Sun GlassFish Enterprise Server 2.1 Developer's Guide

Enabling and Disabling the Security Manager

The security manager is disabled in the developer and cluster profiles and enabled in the enterprise profile by default.

In a production environment, you may be able to safely disable the security manager if all of the following are true:

Disabling the security manager may improve performance significantly for some types of applications. To disable the security manager, do one of the following: