This section describes the changing of security settings required for using the CDI.
To use the CDI, you must change the security settings with one of the following methods:
The description of the methods is as follows:
Add permission java.security.AllPermission; in server.policy. The following is an example of editing the settings:
// Grant minimal permissions to everything else: |
Specify server.policy after you set up the J2EE server.
Specify the -nosecurity option for the cjstartsv command when you start the J2EE server to release SecurityManager.
# cjstartsv server-name -nosecurity |