+
+ @Test
+ public void testVerifyWithoutCertLogin() throws IOException {
+ cookie = login(u.getEmail(), TEST_PASSWORD);
+ loginCertificate = null;
+ assertEquals(403, get(cookie, TTPAdminPage.PATH).getResponseCode());
+ }
+
+ @Test
+ public void testAccessTTPPageWithoutValidChallenge() throws IOException, GigiApiException {
+ grant(u, Group.TTP_AGENT);
+ loginCertificate = null;
+ cookie = cookieWithCertificateLogin(u);
+ assertEquals(403, get(cookie, TTPAdminPage.PATH).getResponseCode());
+ }