1 package club.wpia.gigi.pages.main;
3 import java.io.IOException;
4 import java.util.HashMap;
6 import javax.servlet.http.HttpServletRequest;
7 import javax.servlet.http.HttpServletResponse;
9 import club.wpia.gigi.pages.ManagedFormPage;
10 import club.wpia.gigi.util.AuthorizationContext;
12 public class KeyCompromisePage extends ManagedFormPage {
14 public static final String PATH = "/keyCompromise";
16 public KeyCompromisePage() {
17 super("Report Key Compromise", KeyCompromiseForm.class);
21 public boolean isPermitted(AuthorizationContext ac) {
26 public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {
27 new KeyCompromiseForm(req).output(resp.getWriter(), getLanguage(req), new HashMap<String, Object>());