@Test
public void negativeWithExtendedClientCheck() throws Exception {

    ClientCertAuthenticator auth = new ClientCertAuthenticator(getConfig("clientPrincipal","cn=roland",
                                                                         "extendedClientCheck","true"));
    Authenticator.Result result = auth.authenticate(createHttpsExchange(new Headers(),"uid=blub,cn=roland,o=redhat,c=de", true, false));
    assertTrue(result instanceof Authenticator.Failure);
}