return from authentication engine after redirecting to the error page when no login...
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 12 May 2011 16:35:04 +0000 (16:35 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 12 May 2011 16:35:04 +0000 (16:35 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/branches/REL_2@3029 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/main/java/edu/internet2/middleware/shibboleth/idp/authn/AuthenticationEngine.java

index e137f57..bda0378 100644 (file)
@@ -208,6 +208,7 @@ public class AuthenticationEngine extends HttpServlet {
         if (loginContext == null) {
             LOG.warn("No login context available, unable to proceed with authentication");
             forwardRequest("/error.jsp", httpRequest, httpResponse);
+            return;
         }
 
         if (!loginContext.getAuthenticationAttempted()) {