[java-identity-provider] branch main updated: Remove deprecated setter methods.

Scott Cantor cantor.2 at osu.edu
Thu Oct 13 19:04:01 UTC 2022


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=fc921f70dfe8cdc1b6530c5cdc4ed71393ed73e3

The following commit(s) were added to refs/heads/main by this push:
     new fc921f70d Remove deprecated setter methods.
fc921f70d is described below

commit fc921f70dfe8cdc1b6530c5cdc4ed71393ed73e3
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Oct 13 15:03:58 2022 -0400

    Remove deprecated setter methods.
---
 .../config/AbstractProfileConfiguration.java       | 35 ----------------------
 1 file changed, 35 deletions(-)

diff --git a/idp-profile-api/src/main/java/net/shibboleth/idp/profile/config/AbstractProfileConfiguration.java b/idp-profile-api/src/main/java/net/shibboleth/idp/profile/config/AbstractProfileConfiguration.java
index 4436835ba..7c3eceab2 100644
--- a/idp-profile-api/src/main/java/net/shibboleth/idp/profile/config/AbstractProfileConfiguration.java
+++ b/idp-profile-api/src/main/java/net/shibboleth/idp/profile/config/AbstractProfileConfiguration.java
@@ -34,9 +34,7 @@ import net.shibboleth.shared.annotation.constraint.Unmodifiable;
 import net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent;
 import net.shibboleth.shared.logic.Constraint;
 import net.shibboleth.shared.logic.FunctionSupport;
-import net.shibboleth.shared.primitive.DeprecationSupport;
 import net.shibboleth.shared.primitive.StringSupport;
-import net.shibboleth.shared.primitive.DeprecationSupport.ObjectType;
 
 import org.opensaml.profile.context.ProfileRequestContext;
 import org.slf4j.Logger;
@@ -128,23 +126,6 @@ public abstract class AbstractProfileConfiguration extends AbstractIdentifiableI
         }
     }
 
-    /**
-     * Set a lookup strategy for the inbound interceptor flows to enable.
-     *
-     * @param strategy  lookup strategy
-     * 
-     * @since 3.3.0
-     * 
-     * @deprecated
-     */
-    @Deprecated(since="4.2.0", forRemoval=true)
-    public void setInboundFlowsLookupStrategy(@Nonnull final Function<ProfileRequestContext,List<String>> strategy) {
-        DeprecationSupport.warn(ObjectType.METHOD, "setInboundFlowsLookupStrategy", "relying-party.xml",
-                "setInboundInterceptorFlowsLookupStrategy");
-        setInboundInterceptorFlowsLookupStrategy(strategy);
-    }
-
-
     /**
      * Set a lookup strategy for the inbound interceptor flows to enable.
      *
@@ -180,22 +161,6 @@ public abstract class AbstractProfileConfiguration extends AbstractIdentifiableI
             outboundFlowsLookupStrategy = FunctionSupport.constant(null);
         }
     }
-
-    /**
-     * Set a lookup strategy for the outbound interceptor flows to enable.
-     *
-     * @param strategy  lookup strategy
-     * 
-     * @since 3.3.0
-     * 
-     * @deprecated
-     */
-    @Deprecated(since="4.2.0", forRemoval=true)
-    public void setOutboundFlowsLookupStrategy(@Nonnull final Function<ProfileRequestContext,List<String>> strategy) {
-        DeprecationSupport.warn(ObjectType.METHOD, "setOutboundFlowsLookupStrategy", "relying-party.xml",
-                "setOutboundInterceptorFlowsLookupStrategy");
-        outboundFlowsLookupStrategy = Constraint.isNotNull(strategy, "Lookup strategy cannot be null");
-    }
     
     /**
      * Set a lookup strategy for the outbound interceptor flows to enable.

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


More information about the commits mailing list