Policy file

The HATS Toolkit includes a Java 2 security policy file that gives deployed HATS applications the required permissions to operate when Java 2 security is enabled. Although basic HATS operations have been tested with Java 2 security enabled, you might need to modify the policy file for some HATS applications to operate with Java 2 security enabled. For example, the business logic in your application accesses system resources, or a keyring file or another file exists in a path not already covered by the policy file.

You can find the policy file for a HATS application in the Navigator view of the HATS perspective. Expand the EAR project for the HATS application, and open the META-INF folder to find the was.policy file. HATS copies the default policy file into every new project you create. If you want to modify the default policy file, it is located under the installed HATS plug-in in the following directory:
<shared_install_directory>\plugins\com.ibm.hats_nnn\predefined\
projects\earProject\META-INF\
where shared_install_directory is the shared resources directory where you installed the HATS offering using IBM® Installation Manager, and nnn is the version and build level of HATS.