try {
client.revokeTablePermission(badLogin, "root", table, TablePermission.ALTER_TABLE);
fail("exception not thrown");
} catch (AccumuloSecurityException ex) {}
try {
client.createScanner(badLogin, table, new ScanOptions());
fail("exception not thrown");
} catch (AccumuloSecurityException ex) {}
try {
client.createBatchScanner(badLogin, table, new BatchScanOptions());
fail("exception not thrown");