// create the identities used in the tests.
this.identities = new Identity[TOTAL_IDENTITIES];
for (int i = 0; i < TOTAL_IDENTITIES; i++)
this.identities[i] = IdentityFactory.createIdentity("Identity" + i);
BitMaskPermission readPermission = BasicACLPermission.READ;
BitMaskPermission noPermission = new CompositeACLPermission();
BitMaskPermission allPermission = new CompositeACLPermission(BasicACLPermission.values());
// register the ACLs for the resources used by the tests.
for (int i = 0; i < TOTAL_RESOURCES; i++)
{
Collection<ACLEntry> entries = new ArrayList<ACLEntry>();