Fix minor break in login.jsp backward compat when authn errors occur
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 19 Feb 2010 16:21:50 +0000 (16:21 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 19 Feb 2010 16:21:50 +0000 (16:21 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/branches/REL_2@2917 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

doc/RELEASE-NOTES.txt
src/main/java/edu/internet2/middleware/shibboleth/idp/authn/provider/UsernamePasswordLoginServlet.java

index 592d332..1a731d5 100644 (file)
@@ -6,6 +6,7 @@ Changes in Release 2.2.0
 [SIDP-360] - Session isn't being set within the attribute request context during a SAML1 attribute query
 [SIDP-359] - HttpServletHelper.getRelyingPartyConfirmationManager misnamed
 [SIDP-355] - Idp reinstall from source overwrite some config files even when "no overwrite" is specified
+[SIDP-275] - Using standard JAAS LoginException in UP LoginHandler servlet
 [SC-63] - Use XML Schema duration syntax instead of integers for duration configuration options
 
 Changes in Release 2.1.5
index fca93b6..85f9446 100644 (file)
@@ -105,7 +105,7 @@ public class UsernamePasswordLoginServlet extends HttpServlet {
             authenticateUser(request, username, password);
             AuthenticationEngine.returnToAuthenticationEngine(request, response);
         } catch (LoginException e) {
-            request.setAttribute(failureParam, true);
+            request.setAttribute(failureParam, "true");
             request.setAttribute(LoginHandler.AUTHENTICATION_EXCEPTION_KEY, e);
             redirectToLoginPage(request, response);
         }