[java-identity-provider] branch main updated: Allow empty source ID list, allowing for default instantiation.
Scott Cantor
cantor.2 at osu.edu
Thu Feb 27 19:37:24 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=ad480dd89c7b16910bd6e04799651f72d388972b
The following commit(s) were added to refs/heads/main by this push:
new ad480dd89 Allow empty source ID list, allowing for default instantiation.
ad480dd89 is described below
commit ad480dd89c7b16910bd6e04799651f72d388972b
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Feb 27 14:37:21 2025 -0500
Allow empty source ID list, allowing for default instantiation.
---
.../idp/authn/impl/AttributeSourcedSubjectCanonicalization.java | 4 +---
1 file changed, 1 insertion(+), 3 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 92e307594..816454f95 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
@@ -221,9 +221,7 @@ public class AttributeSourcedSubjectCanonicalization extends AbstractSubjectCano
protected void doInitialize() throws ComponentInitializationException {
super.doInitialize();
- if (attributeSourceIds.isEmpty()) {
- throw new ComponentInitializationException("Attribute source ID list cannot be empty");
- } else if (resolverService == null) {
+ if (resolverService == null) {
throw new ComponentInitializationException("AttributeResolver service cannot be null");
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list