+ User u = Page.getUser(req);
+
+ int i = Integer.parseInt(req.getPathInfo().substring(DomainOverview.PATH.length()));
+ Domain d = Domain.getById(i);
+ if (u.getId() != d.getOwner().getId()) {
+ return false;
+ }
+ int reping = Integer.parseInt(req.getParameter("configId"));
+ DomainPingConfiguration dpc = DomainPingConfiguration.getById(reping);
+ if (dpc.getTarget() != d) {
+ return false;
+ }
+ dpc.requestReping();
+ return true;