import java.security.BasicPermission; public class TestFunctionPermission extends BasicPermission { private static final long serialVersionUID = 3768151291423430120L; public TestFunctionPermission(String FunctionPermissionname) { public static void main(String[] args) { TestFunctionPermission b = new TestFunctionPermission(“a.b.c”); } |
|
20分 |
boolean 类型
implies(Permission p) 检查此对象是否“暗含”指定的权限,比如说增删改。 |