May 2001
Intermediate to advanced
618 pages
20h 50m
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
$HOME/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
|
Read now
Unlock full access