Enabling Java 2 security
WebSphere Commerce supports Java 2 security. It is disabled by default, but enabled automatically when you enable WebSphere global security. You can, however, choose to disable Java 2 security when you enable WebSphere global security and generally configure Java 2 security and WebSphere global security independently of one another.
Provides a policy-based, fine-grain access control mechanism that increases overall system integrity by checking for permissions before allowing access to certain protected system resources. Java 2 security guards access to system resources such as file I/O, sockets, and properties.
- WebSphere Commerce supports Java 2 security. It is disabled by default, but enabled automatically when you enable WebSphere global security. You can, however, choose to disable Java 2 security when you enable WebSphere global security and generally configure Java 2 security and WebSphere global security independently of one another.
Procedure
- Start the WebSphere Application Server administration server.
- Open the WebSphere Integrated Solutions Console.
- In the WebSphere Application Server Administration Console, expand Security and click Global Security.
- On the Global security page that is displayed, select the Enforce Java 2 security option.
- Click OK or Apply and then Save.
- When prompted, click Save again to apply the changes to the master configuration.
-
Restart the WebSphere Application Server administration
server for the changes to take effect.
This will enforce the default Java 2 security policies that you can customize as needed.
For more information, see Java 2 security and Protecting system resources and APIs (Java 2 security).