java.security.Policy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdc-1.1.2-stub Show documentation
Show all versions of cdc-1.1.2-stub Show documentation
Stub of the Connected Device Configuration v1.1.2
The newest version!
package java.security;
public abstract class Policy {
/**
* @throws SecurityException
*/
public static Policy getPolicy() {
return null;
}
/**
* @throws SecurityException
*/
public static void setPolicy(Policy policy) {}
public Policy() {}
public abstract PermissionCollection getPermissions(CodeSource codesource);
public PermissionCollection getPermissions(ProtectionDomain domain) {
return null;
}
public boolean implies(ProtectionDomain domain, Permission permission) {
return false;
}
public abstract void refresh();
}