@Test
public void negativeWithNoCert() throws Exception {

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