[java-identity-provider] branch master updated: Raise some logging.

Scott Cantor cantor.2 at osu.edu
Mon Mar 2 19:32:16 EST 2020


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=259ae3da87ed8e0fd72ecf0ff4d70bfadd3320ad

The following commit(s) were added to refs/heads/master by this push:
       new  259ae3d   Raise some logging.
259ae3d is described below

commit 259ae3da87ed8e0fd72ecf0ff4d70bfadd3320ad
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Mar 2 19:32:13 2020 -0500

    Raise some logging.
---
 .../saml2/profile/impl/ProcessAssertionsForAuthentication.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/ProcessAssertionsForAuthentication.java b/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/ProcessAssertionsForAuthentication.java
index eb6b16b..8a05630 100644
--- a/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/ProcessAssertionsForAuthentication.java
+++ b/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/ProcessAssertionsForAuthentication.java
@@ -177,7 +177,7 @@ public class ProcessAssertionsForAuthentication extends AbstractAuthenticationAc
         
         samlAuthnContext = samlContextLookupStrategy.apply(profileRequestContext);
         if (samlAuthnContext == null) {
-            log.debug("{} No SAMLAuthnContext available within authentication context", getLogPrefix());
+            log.info("{} No SAMLAuthnContext available within authentication context", getLogPrefix());
             ActionSupport.buildEvent(profileRequestContext, AuthnEventIds.INVALID_CREDENTIALS);
             return false;
         }
@@ -204,7 +204,7 @@ public class ProcessAssertionsForAuthentication extends AbstractAuthenticationAc
                 .filter(selector)
                 .collect(Collectors.toList());
         if (assertions.isEmpty()) {
-            log.debug("{} No valid SAML Assertions meeting the criteria for authentication were found", getLogPrefix());
+            log.info("{} No valid SAML Assertions suitable for authentication were found", getLogPrefix());
             ActionSupport.buildEvent(profileRequestContext, AuthnEventIds.INVALID_CREDENTIALS);
             return;
         }
@@ -219,7 +219,7 @@ public class ProcessAssertionsForAuthentication extends AbstractAuthenticationAc
             authnAssertion = authnAssertionSelectionStrategy.apply(assertions);
         }
         if (authnAssertion == null) {
-            log.debug("{} Could not select a single valid SAML Assertion for authentication", getLogPrefix());
+            log.info("{} Could not select a single valid SAML Assertion for authentication", getLogPrefix());
             ActionSupport.buildEvent(profileRequestContext, AuthnEventIds.INVALID_CREDENTIALS);
             return;
         }
@@ -234,7 +234,7 @@ public class ProcessAssertionsForAuthentication extends AbstractAuthenticationAc
             log.debug("{} Attempting to select from multiple AuthnStatements for authentication", getLogPrefix());
             authnStatement = authnStatementSelectionStrategy.apply(authnAssertion);
             if (authnStatement == null) {
-                log.debug("{} Could not select a single AuthnStatement for authentication", getLogPrefix());
+                log.info("{} Could not select a single AuthnStatement for authentication", getLogPrefix());
                 ActionSupport.buildEvent(profileRequestContext, AuthnEventIds.INVALID_CREDENTIALS);
                 return;
             }

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


More information about the commits mailing list