Example usage for Java java.security Policy fields, constructors, methods, implement or subclass
The text is from its open source code.
PermissionCollection | getPermissions(CodeSource codesource) Return a PermissionCollection object containing the set of permissions granted to the specified CodeSource. |
PermissionCollection | getPermissions(ProtectionDomain domain) Return a PermissionCollection object containing the set of permissions granted to the specified ProtectionDomain. |
Policy | getPolicy() Returns the installed Policy object. |
void | refresh() Refreshes/reloads the policy configuration. |
void | setPolicy(Policy p) Sets the system-wide Policy object. |