ACE implements JackrabbitAccessControlEntry { @Override public boolean isAllow() { return isAllow; } ACE(Principal principal, PrivilegeBits privilegeBits,
               boolean isAllow, Set<Restriction> restrictions, NamePathMapper namePathMapper); @NotNull PrivilegeBits getPrivilegeBits(); @NotNull Set<Restriction> getRestrictions(); @NotNull @Override Principal getPrincipal(); @Override boolean isAllow(); @NotNull @Override String[] getRestrictionNames(); @Nullable @Override Value getRestriction(@NotNull String restrictionName); @Nullable @Override Value[] getRestrictions(@NotNull String restrictionName); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void testIsAllow() throws RepositoryException { ACE ace = createEntry(true, PrivilegeConstants.JCR_READ); assertTrue(ace.isAllow()); ace = createEntry(false, PrivilegeConstants.JCR_READ); assertFalse(ace.isAllow()); }