[java-identity-provider] branch master updated: Logging improvement.

Scott Cantor cantor.2 at osu.edu
Wed Nov 13 12:58:12 EST 2019


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=9421a7585d13faf681e489f472f5e357a29c7382

The following commit(s) were added to refs/heads/master by this push:
       new  9421a75   Logging improvement.
9421a75 is described below

commit 9421a7585d13faf681e489f472f5e357a29c7382
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Nov 13 12:58:08 2019 -0500

    Logging improvement.
---
 .../idp/authn/impl/PopulateMultiFactorAuthenticationContext.java  | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/PopulateMultiFactorAuthenticationContext.java b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/PopulateMultiFactorAuthenticationContext.java
index 8045485..d707ca7 100644
--- a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/PopulateMultiFactorAuthenticationContext.java
+++ b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/PopulateMultiFactorAuthenticationContext.java
@@ -159,9 +159,13 @@ public class PopulateMultiFactorAuthenticationContext extends AbstractAuthentica
                 for (final AuthenticationResult result : results) {
                     mfaCtx.getActiveResults().put(result.getAuthenticationFlowId(), result);
                 }
+                if (log.isDebugEnabled()) {
+                    log.debug("{} {} active result(s) extracted for possible reuse: {}", getLogPrefix(), results.size(),
+                            mfaCtx.getActiveResults().keySet());
+                }
+            } else {
+                log.debug("{} No active results extracted", getLogPrefix());
             }
-            log.debug("{} {} active result(s) extracted for possible reuse", getLogPrefix(),
-                    results != null ? results.size() : 0);
         } else {
             log.debug("{} No lookup strategy provided, no active results will be made available", getLogPrefix());
         }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list