@Test
public void testAuthenticateNoLoginModule() throws Exception {

    HttpServletRequest req = createMock(HttpServletRequest.class);
    JaasAuthenticator auth = new JaasAuthenticator("jolokia");
    replay(req);
    assertFalse(auth.doAuthenticate(req, info));
}