Lines Matching refs:AclEntry
43 private Hashtable<Principal, AclEntry> allowedUsersTable =
45 private Hashtable<Principal, AclEntry> allowedGroupsTable =
47 private Hashtable<Principal, AclEntry> deniedUsersTable =
49 private Hashtable<Principal, AclEntry> deniedGroupsTable =
103 public synchronized boolean addEntry(Principal caller, AclEntry entry)
109 Hashtable<Principal, AclEntry> aclTable = findTable(entry);
129 public synchronized boolean removeEntry(Principal caller, AclEntry entry)
135 Hashtable<Principal, AclEntry> aclTable = findTable(entry);
138 AclEntry o = aclTable.remove(key);
245 public synchronized Enumeration<AclEntry> entries() {
257 Enumeration<AclEntry> entries = entries();
259 AclEntry entry = entries.nextElement();
272 // table is the one that this AclEntry belongs to.
274 private Hashtable<Principal, AclEntry> findTable(AclEntry entry) {
275 Hashtable<Principal, AclEntry> aclTable = null;
336 AclEntry ae = allowedGroupsTable.get(g);
349 AclEntry ae = deniedGroupsTable.get(g);
358 AclEntry ae = allowedUsersTable.get(user);
366 AclEntry ae = deniedUsersTable.get(user);
373 final class AclEnumerator implements Enumeration<AclEntry> {
375 Enumeration<AclEntry> u1, u2, g1, g2;
377 AclEnumerator(Acl acl, Hashtable<?,AclEntry> u1, Hashtable<?,AclEntry> g1,
378 Hashtable<?,AclEntry> u2, Hashtable<?,AclEntry> g2) {
393 public AclEntry nextElement()
395 AclEntry o;