[java-identity-provider] 01/02: Adjust logging to warn when no flows are available.
Scott Cantor
cantor.2 at osu.edu
Mon Mar 3 14:58:36 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=183acdb83205825770674b4dea3782ddf09f9203
commit 183acdb83205825770674b4dea3782ddf09f9203
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Mar 3 09:57:43 2025 -0500
Adjust logging to warn when no flows are available.
---
.../java/net/shibboleth/idp/authn/impl/SelectAuthenticationFlow.java | 2 +-
.../shibboleth/idp/authn/impl/SelectSubjectCanonicalizationFlow.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/SelectAuthenticationFlow.java b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/SelectAuthenticationFlow.java
index 3e018b292..9767098a2 100644
--- a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/SelectAuthenticationFlow.java
+++ b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/SelectAuthenticationFlow.java
@@ -310,7 +310,7 @@ public class SelectAuthenticationFlow extends AbstractAuthenticationAction {
final AuthenticationFlowDescriptor flow =
getUnattemptedInactiveFlow(profileRequestContext, authenticationContext);
if (flow == null) {
- log.info("{} No potential flows left to choose from, authentication failed", getLogPrefix());
+ log.warn("{} No potential flows left to choose from, authentication failed", getLogPrefix());
ActionSupport.buildEvent(profileRequestContext,
authenticationContext.isPassive() ? AuthnEventIds.NO_PASSIVE :
(noProxying ? AuthnEventIds.PROXY_COUNT_EXCEEDED : AuthnEventIds.NO_POTENTIAL_FLOW));
diff --git a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/SelectSubjectCanonicalizationFlow.java b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/SelectSubjectCanonicalizationFlow.java
index f73c824b3..45429a9cd 100644
--- a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/SelectSubjectCanonicalizationFlow.java
+++ b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/SelectSubjectCanonicalizationFlow.java
@@ -82,7 +82,7 @@ public class SelectSubjectCanonicalizationFlow extends AbstractSubjectCanonicali
final SubjectCanonicalizationFlowDescriptor flow = selectUnattemptedFlow(profileRequestContext, c14nContext);
if (flow == null) {
- log.error("{} No potential flows left to choose from, c14n will fail", getLogPrefix());
+ log.warn("{} No potential flows left to choose from, c14n will fail", getLogPrefix());
ActionSupport.buildEvent(profileRequestContext, AuthnEventIds.NO_POTENTIAL_FLOW);
return;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list