H.assertPrivilege(grantedPrivilegeNames,true,"jcr:lifecycleManagement");
H.assertPrivilege(grantedPrivilegeNames,true,"jcr:modifyProperties");
H.assertPrivilege(grantedPrivilegeNames,true,"jcr:addChildNodes");
H.assertPrivilege(grantedPrivilegeNames,true,"jcr:removeChildNodes");
JSONArray deniedArray = aceObject.optJSONArray("denied");
assertNotNull(deniedArray);
assertEquals(1, deniedArray.length());
Set<String> deniedPrivilegeNames = new HashSet<String>();
for (int i=0; i < deniedArray.length(); i++) {
deniedPrivilegeNames.add(deniedArray.getString(i));