From 48b4f16ed21d9b2eff40f03d6fff3b1becdd5d01 Mon Sep 17 00:00:00 2001 From: jeb228 Date: Thu, 9 Dec 2010 17:17:16 +0000 Subject: [PATCH] NIHVIVO-1460 remove the hooks in Authenticate that were supposed to allow programmatic login - this is superseded by the ProgramLogin servlet. --- .../webapp/controller/edit/Authenticate.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/edit/Authenticate.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/edit/Authenticate.java index c370360a7..278f5d9af 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/edit/Authenticate.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/edit/Authenticate.java @@ -59,9 +59,6 @@ public class Authenticate extends VitroHttpServlet { */ private static final String PARAMETER_RETURN = "return"; - /** If this is set, a status of NOWHERE should be treated as LOGGING_IN. */ - private static final String PARAMETER_LOGGING_IN = "loginForm"; - /** The username field on the login form. */ private static final String PARAMETER_USERNAME = "loginName"; @@ -193,22 +190,9 @@ public class Authenticate extends VitroHttpServlet { + "current state is NOWHERE"); } - if ((currentState == NOWHERE) && isLoggingInByParameter(request)) { - currentState = LOGGING_IN; - log.debug("forced from NOWHERE to LOGGING_IN by '" - + PARAMETER_LOGGING_IN + "' parameter"); - } - return currentState; } - /** - * If this parameter is present, we aren't NOWHERE. - */ - private boolean isLoggingInByParameter(HttpServletRequest request) { - return (request.getParameter(PARAMETER_LOGGING_IN) != null); - } - /** * They just got here. Start the process. */