Generated by
JDiff

Class java.security.Policy

Documentation changed from old to new.

Added Methods
PermissionCollection getPermissions(ProtectionDomain) Evaluates the global policy and returns a PermissionCollection object specifying the set of permissions allowed given the characteristics of the protection domain.
boolean implies(ProtectionDomain, Permission) Evaluates the global policy for the permissions granted to the ProtectionDomain and tests whether the permission is granted.
 

Changed Methods
Policy getPolicy() Documentation changed from old to new.
Returns the installed Policy object.
void refresh() Documentation changed from old to new.
Refreshes/reloads the policy configuration.
void setPolicy(Policy) Documentation changed from old to new.
Sets the system-wide Policy object.
PermissionCollection getPermissions(CodeSource) Documentation changed from old to new.
Evaluates the global policy and returns a PermissionCollection object specifying the set of permissions allowed for code from the specified code source.