1 7 8 package java.security.acl; 9 10 import java.util.Enumeration ; 11 import java.security.Principal ; 12 13 36 public interface AclEntry extends Cloneable { 37 38 50 public boolean setPrincipal(Principal user); 51 52 61 public Principal getPrincipal(); 62 63 72 public void setNegativePermissions(); 73 74 81 public boolean isNegative(); 82 83 93 public boolean addPermission(Permission permission); 94 95 103 public boolean removePermission(Permission permission); 104 105 114 public boolean checkPermission(Permission permission); 115 116 121 public Enumeration <Permission > permissions(); 122 123 128 public String toString(); 129 130 135 public Object clone(); 136 } 137 138 139 | Popular Tags |