Policy
Class Policy
- java.lang.Object
-
- java.security.Policy
public abstract class Policy extends Object
A Policy object is responsible for determining whether code executing in the Java runtime environment has permission to perform a security-sensitive operation.
There is only one Policy object installed in the runtime at any given time. A Policy object can be installed by calling the setPolicy
method. The installed Policy object can be obtained by calling the getPolicy
method.
If no Policy object has been installed in the runtime, a call to getPolicy
installs an instance of the default Policy implementation (a default subclass implementation of this abstract class). The default Policy implementation can be changed by setting