[java-identity-provider] branch main updated: Backstop attribute source list with attribute resolve list.

Scott Cantor cantor.2 at osu.edu
Mon Mar 3 22:06:04 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=c4d5c503f09824028f0c0ee8f3750a9c0fe81021

The following commit(s) were added to refs/heads/main by this push:
     new c4d5c503f Backstop attribute source list with attribute resolve list.
c4d5c503f is described below

commit c4d5c503f09824028f0c0ee8f3750a9c0fe81021
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Mar 3 17:05:32 2025 -0500

    Backstop attribute source list with attribute resolve list.
---
 .../idp/authn/impl/AttributeSourcedSubjectCanonicalization.java       | 4 ++++
 1 file changed, 4 insertions(+)

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 816454f95..c8257603d 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
@@ -224,6 +224,10 @@ public class AttributeSourcedSubjectCanonicalization extends AbstractSubjectCano
         if (resolverService == null) {
             throw new ComponentInitializationException("AttributeResolver service cannot be null");
         }
+        
+        if (attributeSourceIds.isEmpty()) {
+            attributeSourceIds = CollectionSupport.copyToList(attributesToResolve);
+        }
     }
     
     /** {@inheritDoc} */

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


More information about the commits mailing list