]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/account/ChangePasswordPage.java
upd: rename package name and all references to it
[gigi.git] / src / org / cacert / gigi / pages / account / ChangePasswordPage.java
diff --git a/src/org/cacert/gigi/pages/account/ChangePasswordPage.java b/src/org/cacert/gigi/pages/account/ChangePasswordPage.java
deleted file mode 100644 (file)
index 60cfaa0..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-package org.cacert.gigi.pages.account;
-
-import java.io.IOException;
-import java.util.HashMap;
-
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-import org.cacert.gigi.dbObjects.User;
-import org.cacert.gigi.pages.ManagedFormPage;
-import org.cacert.gigi.util.AuthorizationContext;
-
-public class ChangePasswordPage extends ManagedFormPage {
-
-    public static final String PATH = "/account/password";
-
-    public ChangePasswordPage() {
-        super("Change Password", ChangeForm.class);
-    }
-
-    @Override
-    public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {
-        new ChangeForm(req, getUser(req)).output(resp.getWriter(), getLanguage(req), new HashMap<String, Object>());
-    }
-
-    @Override
-    public boolean isPermitted(AuthorizationContext ac) {
-        return ac != null && ac.getTarget() instanceof User;
-    }
-}