May 1998
Intermediate to advanced
469 pages
14h 57m
English
Class java.security.Policy
The Policy class encapsulates all the specific
permissions that the virtual machine knows about. This set of
permissions is by default read from a series of URLs specified by
policy.url properties in the
$JDKHOME/lib/security/java.security file,
although applications may specify their own policy objects by using
the setPolicy() method of this class.
Alternately, a different default implementation of the policy class
may be specified by changing the policy.provider
property in the java.security file.
public abstract class java.security.Policy
extends java.lang.Object {
// Constructors
public Policy();
// Class Methods
public static Policy getPolicy();
public static void setPolicy(Policy);
// Instance Methods
public abstract PermissionCollection getPermissions(CodeSource);
public abstract void refresh();
}
Permission, Permissions