java.policy file permissions

Java™ 2 security uses several policy files to determine the granted permission for each Java program.

See Java 2 security policy files for the list of available policy files that are supported by WebSphere® Application Server.

The java.policy file is located in java_home/lib/security if your application server profile is enabled for the Classic JVM. Otherwise, The java.policy file is located in java_home/jre/lib/security if you application server is enabled for the IBM Technology for Java JVM. For all JVMs, the java.policy file is used system-wide. Do not edit the java.policy file on the server.

Use the showVariables command of the AdminTask object to retrieve java_home for the node associated with the server's profile. For example, if the node is myNode:
  1. Enter QShell.
  2. cd to profile_root/bin.
  3. Invoke wsadmin -conntype NONE -c '$AdminTask showVariables {-scope Node=myNode -variableName JAVA_HOME}'.



Related concepts
Access control exception for Java 2 security
Related tasks
Using PolicyTool to edit policy files for Java 2 security
Configuring static policy files in Java 2 security
Related reference
app.policy file permissions
server.policy file permissions
client.policy file permissions
filter.policy file permissions
Java 2 security policy files
Reference topic    

Terms of Use | Feedback

Last updated: Oct 20, 2010 11:50:58 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-base-iseries&topic=rsecjavapolicy
File name: rsec_javapolicy.html