[java-shib-attribute] branch main updated: IDP-1966 - Migrate PRC lookup out of plugins and into AttributeResolutionContext

Scott Cantor cantor.2 at osu.edu
Wed Jun 22 13:37:19 UTC 2022


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

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

View the commit online:
http://git.shibboleth.net/view/?p=java-shib-attribute.git;a=commit;h=7db265f105c1bad5243b43d3f6ca1e6207e5c526

The following commit(s) were added to refs/heads/main by this push:
     new 7db265f10 IDP-1966 - Migrate PRC lookup out of plugins and into AttributeResolutionContext
7db265f10 is described below

commit 7db265f105c1bad5243b43d3f6ca1e6207e5c526
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Jun 22 09:37:16 2022 -0400

    IDP-1966 - Migrate PRC lookup out of plugins and into
    AttributeResolutionContext
    
    https://shibboleth.atlassian.net/browse/IDP-1966
    
    Missed extra usage in factory bean.
---
 .../impl/AbstractResolverPluginFactoryBean.java    | 27 ----------------------
 1 file changed, 27 deletions(-)

diff --git a/shib-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/impl/AbstractResolverPluginFactoryBean.java b/shib-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/impl/AbstractResolverPluginFactoryBean.java
index e7d3550b3..be37ef6d4 100644
--- a/shib-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/impl/AbstractResolverPluginFactoryBean.java
+++ b/shib-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/impl/AbstractResolverPluginFactoryBean.java
@@ -18,7 +18,6 @@
 package net.shibboleth.idp.attribute.resolver.spring.impl;
 
 import java.util.Set;
-import java.util.function.Function;
 import java.util.function.Predicate;
 
 import javax.annotation.Nonnull;
@@ -30,7 +29,6 @@ import net.shibboleth.ext.spring.factory.AbstractComponentAwareFactoryBean;
 import net.shibboleth.idp.attribute.resolver.AbstractResolverPlugin;
 import net.shibboleth.idp.attribute.resolver.ResolverAttributeDefinitionDependency;
 import net.shibboleth.idp.attribute.resolver.ResolverDataConnectorDependency;
-import net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext;
 
 /**
  * A factory bean to collect the parameterization that goes onto a {@link AbstractResolverPlugin}.
@@ -46,9 +44,6 @@ public abstract class AbstractResolverPluginFactoryBean<T extends AbstractResolv
     /** Plugin property "propagateResolutionExceptions". */
     @Nullable private Boolean propagateResolutionExceptions;
 
-    /** Plugin property "profileContextStrategy". */
-    @Nullable private Function<AttributeResolutionContext, ProfileRequestContext> profileContextStrategy;
-
     /** Plugin property "activationCondition". */
     @Nullable private Predicate<ProfileRequestContext> activationCondition;
 
@@ -90,25 +85,6 @@ public abstract class AbstractResolverPluginFactoryBean<T extends AbstractResolv
         return propagateResolutionExceptions;
     }
 
-    /**
-     * Bean setter in support of {@link AbstractResolverPlugin#setProfileContextStrategy(Function)}.
-     * 
-     * @param strategy value to be set
-     */
-    public void setProfileContextStrategy(
-            @Nullable final Function<AttributeResolutionContext, ProfileRequestContext> strategy) {
-        profileContextStrategy = strategy;
-    }
-
-    /**
-     * Bean getter in support of {@link AbstractResolverPlugin#setProfileContextStrategy(Function)}.
-     * 
-     * @return The value to be set
-     */
-    public Function<AttributeResolutionContext, ProfileRequestContext> getProfileContextStrategy() {
-        return profileContextStrategy;
-    }
-
     /**
      * Bean setter in support of {@link AbstractResolverPlugin#setActivationCondition(Predicate)}.
      * 
@@ -182,9 +158,6 @@ public abstract class AbstractResolverPluginFactoryBean<T extends AbstractResolv
         if (null != getDataConnectorDependencies()) {
             what.setDataConnectorDependencies(getDataConnectorDependencies());
         }
-        if (null != getProfileContextStrategy()) {
-            what.setProfileContextStrategy(getProfileContextStrategy());
-        }
         if (null != getPropagateResolutionExceptions()) {
             what.setPropagateResolutionExceptions(getPropagateResolutionExceptions());
         }

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


More information about the commits mailing list