if (ldap_enabled) JSPManager.showJSP(request, response, "/register/new-ldap-user.jsp");
    protected void doDSGet(Context context, HttpServletRequest request,            HttpServletResponse response) throws ServletException, IOException,            SQLException, AuthorizeException    {        /*         * Respond to GETs. A simple GET with no parameters will display the         * relevant "type in your e-mail" form. A GET with a "token" parameter         * will go to the "enter personal info" or "enter new password" page as         * appropriate.         */        boolean updated = false;        // Get the token        String token = request.getParameter("token");        if (token == null)        {            // Simple "enter your e-mail" page            if (registering)            {                // Registering a new user                JSPManager.showJSP(request, response, "/register/new-user.jsp");            }            else            {                // User forgot their password                JSPManager.showJSP(request, response,                        "/register/forgot-password.jsp");            }        }        else        {            // We have a token. Find out who the it's for            String email = AccountManager.getEmail(context, token);            EPerson eperson = null;            if (email != null)            {                eperson = EPerson.findByEmail(context, email);            }            // Both forms need an EPerson object (if any)            request.setAttribute("eperson", eperson);            // And the token            request.setAttribute("token", token);            if (registering && (email != null))            {                // Indicate if user can set password                boolean setPassword = Authenticate.getSiteAuth()                        .allowSetPassword(context, request, email);                request.setAttribute("set.password", new Boolean(setPassword));                // Forward to "personal info page"                JSPManager.showJSP(request, response,                        "/register/registration-form.jsp");            }            else if (!registering && (eperson != null))            {                // Token relates to user who's forgotten password                JSPManager.showJSP(request, response,                        "/register/new-password.jsp");            }            else            {                // Duff token!                JSPManager.showJSP(request, response,                        "/register/invalid-token.jsp");                return;            }        }    }