mark user authenticated when authN succeeds
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 12 Nov 2007 07:17:55 +0000 (07:17 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 12 Nov 2007 07:17:55 +0000 (07:17 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2462 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

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

index 7ceabc8..02578b3 100644 (file)
@@ -252,6 +252,7 @@ public class AuthenticationEngine extends HttpServlet {
             returnToProfileHandler(loginContext, httpRequest, httpResponse);
             return;
         }
+        loginContext.setPrincipalAuthenticated(true);
         loginContext.setPrincipalName(principalName);
         loginContext.setAuthenticationInstant(new DateTime());