[java-identity-provider] branch main updated: Lower log levels and adjust handling of "failure" to locate attributes.
Codeberg
noreply at shibboleth.net
Mon Jan 5 22:19:51 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
https://codeberg.org/Shibboleth/java-identity-provider/commit/41d4eb313388a26e4be5a1635bb61382aafd30c5
The following commit(s) were added to refs/heads/main by this push:
new 41d4eb313 Lower log levels and adjust handling of "failure" to locate attributes.
41d4eb313 is described below
commit 41d4eb313388a26e4be5a1635bb61382aafd30c5
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Jan 5 17:07:02 2026 -0500
Lower log levels and adjust handling of "failure" to locate attributes.
---
.../idp/authn/impl/AttributeSourcedSubjectCanonicalization.java | 4 ++--
.../idp/authn/impl/AttributeSourcedSubjectCanonicalizationTest.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/AttributeSourcedSubjectCanonicalization.java b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/AttributeSourcedSubjectCanonicalization.java
index c8257603d..0956d66d0 100644
--- a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/AttributeSourcedSubjectCanonicalization.java
+++ b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/AttributeSourcedSubjectCanonicalization.java
@@ -278,8 +278,8 @@ public class AttributeSourcedSubjectCanonicalization extends AbstractSubjectCano
}
}
- log.info("{} Attribute sources {} did not produce a usable identifier", getLogPrefix(), attributeSourceIds);
- return AuthnEventIds.INVALID_SUBJECT;
+ log.debug("{} Attribute sources {} did not produce a usable identifier", getLogPrefix(), attributeSourceIds);
+ return null;
}
/**
diff --git a/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/AttributeSourcedSubjectCanonicalizationTest.java b/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/AttributeSourcedSubjectCanonicalizationTest.java
index c649ec60c..0b4cacc71 100644
--- a/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/AttributeSourcedSubjectCanonicalizationTest.java
+++ b/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/AttributeSourcedSubjectCanonicalizationTest.java
@@ -96,7 +96,7 @@ public class AttributeSourcedSubjectCanonicalizationTest extends BaseAuthenticat
final String event = action.apply(scc);
- Assert.assertEquals(event, AuthnEventIds.INVALID_SUBJECT);
+ Assert.assertNull(event);
Assert.assertNull(scc.getPrincipalName());
}
@@ -109,7 +109,7 @@ public class AttributeSourcedSubjectCanonicalizationTest extends BaseAuthenticat
final String event = action.apply(scc);
- Assert.assertEquals(event, AuthnEventIds.INVALID_SUBJECT);
+ Assert.assertNull(event);
Assert.assertNull(scc.getPrincipalName());
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list