public void testChangeSecurityProvider() throws IOException {
GroupInfo gi[] = new GroupInfo[2];
gi[0] = new GroupInfo("group1", true, true, true, true, false, false);
gi[1] = new GroupInfo("group2", true, true, true, true, false, false);
UserInfo ui[] = new UserInfo[2];
ui[0] = new UserInfo("user1", "password", new String[] {"group1"});
ui[1] = new UserInfo("user2", "password", new String[] {"group2"});
String original = compileWithGroups(true, "hash", gi, ui, "base", BASEPROCS);
Catalog catOriginal = catalogForJar(original);
// just turn on security