book
Article ID: KB0091723
calendar_today
Updated On:
Description
Resolution:
Description: Java Platform 2 changes the default security model for classes that are
not part of the standard Java API. The classes used by the IcJavaServer or
icjava in stand alone mode (IcClient created with the no argument constructor)
requires some of the permissions that were allowed by default under 1.1 but
removed in Java Platform. These permissions are restored by using a
"Policy File".
A policy file is selected by defining the java.security.policy
property. For example:
java -Djava.security.policy=java.policy IcJavaServer
A Policy File may be edited using the policytool that comes with the JDK.
For more information, please look at Sun's Java web site. The current
location is
http://java.sun.com/products/jdk/1.2/docs/guide/security/index.html.
The java.policy file that may be used with IcJavaServer or icjava
in stand alone mode is as follows:
/* AUTOMATICALLY GENERATED ON Tue Jun 01 11:26:10 EDT 1999*/
/* DO NOT EDIT */
grant codeBase "file:*" {
permission java.lang.RuntimePermission "loadLibrary.icjni";
permission java.io.FilePermission "<<ALL FILES>>", "read, write, delete,
execute";
permission java.util.PropertyPermission "*", " read, write";
permission java.net.SocketPermission "*", "accept, connect, listen, resolve";
};
Issue/Introduction
[This KA was unapproved and obsolete when migrated.]
How to run IcJava 1.2 with JDK 1.2
Environment
Product: TIBCO InConcert
Version: ALLOS: All
--------------------