}
assertTrue("Connecting bad user should have failed", threw);
// Try to add a user with a new role to the system
dbuilder.addUsers(new UserInfo[]
{new UserInfo("user", "user", new String[] {"NEWROLE"})});
dbuilder.writeXML(pathToDeployment);
threw = false;
try {
adminClient.updateApplicationCatalog(null, new File(pathToDeployment));
}