Use the PolicyTool utility to update policy files. Java 2 security uses several policy files to determine the granted permission for each Java program. The Java Development Kit provides the PolicyTool tool to edit these policy files. This tool is recommended for editing any policy file to verify the syntax of its contents. Syntax errors in the policy file cause an AccessControlException exception when the application runs, including the server start. Identifying the cause of this exception is not easy because the user might not be familiar with the resource that has an access violation. Be careful when you edit these policy files.
See Java 2 security policy files for the list of available policy files.
You must install either the client or plug-ins component of WebSphere Application Server on a workstation in order to access the PolicyTool. It is not currently supported on the iSeries server.
Click OK.
The Policy Entry window opens. At the code base column, enter the code base information as a URL format. For example, you can enter:
profile_root/InstalledApps/testcase.ear
The Signed By keyword is not supported in the following policy files: app.policy, spi.policy, library.policy, was.policy, and filter.policy files. However, the Signed By keyword is supported in the following policy files: #java.policy, server.policy, and client.policy files. The Java Authentication and Authorization Service (JAAS) is not supported in the app.policy, spi.policy, library.policy, was.policy, and filter.policy files. However, the JAAS principal keyword is supported in a JAAS policy file when it is specified by the java.security.auth.policy JVM system property.