*/
public boolean addEntry(Principal principal, Privilege[] privileges,
boolean isAllow, Map<String, Value> restrictions)
throws AccessControlException, RepositoryException {
if (restrictions != null && !restrictions.isEmpty()) {
throw new AccessControlException("This AccessControlList does not allow for additional restrictions.");
}
checkValidEntry(principal, privileges, isAllow);
Entry ace = new Entry(principal, privileges, isAllow, valueFactory);
return internalAdd(ace);