Adds an entry to this ACL. If the ACL already has an ACLEntry associated to the new entry's identity, then the new entry will not be added.
ACLEntry
true
false
127128129130131132133134135136137
// add some entries to the ACL. int entriesNumber = 20; for (int i = 0; i < entriesNumber; i++) { ACLEntry entry = new ACLEntryImpl(BasicACLPermission.CREATE, IdentityFactory.createIdentity("Identity" + i)); acl.addEntry(entry); } assertTrue("Failed to update the ACL", this.strategy.updateACL(acl)); // retrieve the ACL again and check it has the added entries. acl = this.strategy.getACL(this.resources[0]);