log.info(LogManager .getHeader(context, "login", "type=password"));
log.info(LogManager.getHeader(context, "login", "type=explicit"));
    protected void doDSPost(Context context, HttpServletRequest request,            HttpServletResponse response) throws ServletException, IOException,            SQLException, AuthorizeException    {        // Process the POSTed email and password        String email = request.getParameter("login_email");        String password = request.getParameter("login_password");        // Locate the eperson        EPerson eperson = EPerson.findByEmail(context, email.toLowerCase());        boolean loggedIn = false;        // Verify the password        if ((eperson != null) && eperson.canLogIn())        {            // e-mail address corresponds to active account            if (eperson.getRequireCertificate())            {                // they must use a certificate                JSPManager.showJSP(request, response,                        "/error/require-certificate.jsp");                return;            }            else if (eperson.checkPassword(password))            {                // Logged in OK.                Authenticate.loggedIn(context, request, eperson);                log.info(LogManager                        .getHeader(context, "login", "type=password"));                // resume previous request                Authenticate.resumeInterruptedRequest(request, response);                return;            }        }        // If we reach here, supplied email/password was duff.        log.info(LogManager                .getHeader(context, "failed_login", "email=" + email));        JSPManager.showJSP(request, response, "/login/incorrect.jsp");    }