"Expected the only interceptor to be the dummy interceptor",
DummyAuthenticator.class,
authenticators.iterator().next().getClass() );
service.getSession( new Dn( "uid=non-existant-user,ou=system" ), "wrong-password".getBytes() );
assertTrue( "Expedted dummy authenticator to have been invoked", dummyAuthenticatorCalled );
service.shutdown();
FileUtils.deleteDirectory( service.getInstanceLayout().getInstanceDirectory() );
}
private static volatile boolean dummyAuthenticatorCalled = false;