A bit more logging
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 27 Nov 2008 13:24:22 +0000 (13:24 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 27 Nov 2008 13:24:22 +0000 (13:24 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/branches/REL_2@2813 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

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

index 5a43443..c08825d 100644 (file)
@@ -525,7 +525,8 @@ public class AuthenticationEngine extends HttpServlet {
 
             loginContext.setPrincipalAuthenticated(true);
             updateUserSession(loginContext, subject, actualAuthnMethod, httpRequest, httpResponse);
-            LOG.debug("User {} authenticated with method {}", loginContext.getPrincipalName(), actualAuthnMethod);
+            LOG.debug("User {} authenticated with method {}", loginContext.getPrincipalName(), loginContext
+                    .getAuthenticationMethod());
         } catch (AuthenticationException e) {
             LOG.error("Authentication failed with the error:", e);
             loginContext.setPrincipalAuthenticated(false);