[java-identity-provider] branch maint-4 updated: IDP-2141 - Bug in BaseResolverPluginParser handling of resolutionPhases

Scott Cantor cantor.2 at osu.edu
Thu Nov 16 15:30:34 UTC 2023


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

scantor pushed a commit to branch maint-4
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=fed22f7091fd512b368d73bcece5d5852c7bb990

The following commit(s) were added to refs/heads/maint-4 by this push:
     new fed22f709 IDP-2141 - Bug in BaseResolverPluginParser handling of resolutionPhases
fed22f709 is described below

commit fed22f7091fd512b368d73bcece5d5852c7bb990
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Nov 16 10:29:52 2023 -0500

    IDP-2141 - Bug in BaseResolverPluginParser handling of resolutionPhases
    
    https://shibboleth.atlassian.net/browse/IDP-2141
---
 .../idp/attribute/resolver/spring/BaseResolverPluginParser.java        | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/BaseResolverPluginParser.java b/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/BaseResolverPluginParser.java
index c3357d10f..68376a777 100644
--- a/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/BaseResolverPluginParser.java
+++ b/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/BaseResolverPluginParser.java
@@ -159,6 +159,7 @@ public abstract class BaseResolverPluginParser extends AbstractCustomBeanDefinit
                 log.warn("excludeResolutionPhases ignored, using resolutionPhases");
             }
             phasesBuilder = BeanDefinitionBuilder.genericBeanDefinition(ResolutionLabelPredicate.class);
+            phasesBuilder.setFactoryMethod("byList");
             phasesBuilder.addConstructorArgValue(
                     SpringSupport.getAttributeValueAsList(config.getAttributeNodeNS(null, "resolutionPhases")));
         } else if (config.hasAttributeNS(null, "excludeResolutionPhases")) {
@@ -222,4 +223,4 @@ public abstract class BaseResolverPluginParser extends AbstractCustomBeanDefinit
         return builder.toString();
     }
 
-}
\ No newline at end of file
+}

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


More information about the commits mailing list