@BeforeClass public static void setupKerb() { System.setProperty("java.security.krb5.kdc", ""); System.setProperty("java.security.krb5.realm", "NONE"); Security.addProvider(new SaslPlainServer.SecurityProvider()); }