+ @Override
+ public boolean beforePost(HttpServletRequest req, HttpServletResponse resp) throws IOException {
+ if (support && "revoke".equals(req.getParameter("action"))) {
+ if (Form.getForm(req, RevokeSingleCertForm.class).submitExceptionProtected(req)) {
+ resp.sendRedirect(req.getPathInfo());
+ return true;
+ }
+ return false;
+ }
+ if ( !req.getPathInfo().equals(PATH)) {
+ resp.sendError(500);
+ return true;
+ }
+ if (Form.getForm(req, CertificateModificationForm.class).submitExceptionProtected(req)) {
+ resp.sendRedirect(PATH);
+ return true;
+ }
+ return false;
+ }
+