public class PolicyImpl
extends java.security.Policy
Modifier and Type | Method and Description |
---|---|
java.security.PermissionCollection |
getPermissions(java.security.CodeSource codesource) |
java.security.PermissionCollection |
getPermissions(java.security.ProtectionDomain domain) |
static PolicyImpl |
getPolicy() |
boolean |
implies(java.security.ProtectionDomain domain,
java.security.Permission permission) |
static void |
init() |
void |
refresh() |
java.lang.String |
toString() |
public static PolicyImpl getPolicy()
public static void init()
public java.security.PermissionCollection getPermissions(java.security.CodeSource codesource)
getPermissions
in class java.security.Policy
public java.security.PermissionCollection getPermissions(java.security.ProtectionDomain domain)
getPermissions
in class java.security.Policy
public boolean implies(java.security.ProtectionDomain domain, java.security.Permission permission)
implies
in class java.security.Policy
public void refresh()
refresh
in class java.security.Policy
public java.lang.String toString()
toString
in class java.lang.Object