[java-shib-attribute] 02/02: JSATTR-48 Pre-resolved attributes cause deprecation warnings

Codeberg noreply at shibboleth.net
Tue Apr 28 18:40:53 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository java-shib-attribute.

View the commit online:
https://codeberg.org/Shibboleth/java-shib-attribute/commit/900bc10d525fd3fc894187481affe9a6f4beac24

commit 900bc10d525fd3fc894187481affe9a6f4beac24
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Apr 28 19:40:09 2026 +0100

    JSATTR-48 Pre-resolved attributes cause deprecation warnings
    
    https://shibboleth.atlassian.net/browse/JSATTR-48
---
 .../shibboleth/idp/attribute/resolver/impl/AttributeResolverImpl.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/impl/AttributeResolverImpl.java b/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/impl/AttributeResolverImpl.java
index f081fa5ff..7362d3a4a 100644
--- a/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/impl/AttributeResolverImpl.java
+++ b/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/impl/AttributeResolverImpl.java
@@ -664,8 +664,8 @@ public class AttributeResolverImpl extends AbstractIdentifiableInitializableComp
 
         final AttributeContext context = resolutionContext.ensureSubcontext(AttributeContext.class);
         log.debug("Pre-resolved Attributes: {}", resolvedAttributes.keySet());
-        context.setIdPAttributes(resolvedAttributes.values());
-        context.setUnfilteredIdPAttributes(resolvedAttributes.values());
+        context.setIdPAttributes(resolvedAttributes);
+        context.setUnfilteredIdPAttributes(resolvedAttributes);
     }
 
     /** {@inheritDoc} */

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


More information about the commits mailing list