[java-shib-attribute] 01/02: JSATTR-5 Remove deprecations

Rod Widdowson rdw at steadingsoftware.com
Sat Nov 12 16:57:39 UTC 2022


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

rdw 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=516e963a35ea949164e50e6cd2c39c3e6c1ef97b

commit 516e963a35ea949164e50e6cd2c39c3e6c1ef97b
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Nov 2 15:37:26 2022 +0000

    JSATTR-5 Remove deprecations
    
    https://shibboleth.atlassian.net/browse/JSATTR-5
    
    remove profileContextStrategyRef="beanId" from DataConnector
    and Attribute Definitions
---
 .../idp/attribute/resolver/spring/BaseResolverPluginParser.java    | 7 -------
 .../src/main/resources/schema/shibboleth-attribute-resolver.xsd    | 7 -------
 2 files changed, 14 deletions(-)

diff --git a/shib-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/BaseResolverPluginParser.java b/shib-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/BaseResolverPluginParser.java
index f08620a3a..ed83d4b53 100644
--- a/shib-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/BaseResolverPluginParser.java
+++ b/shib-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/BaseResolverPluginParser.java
@@ -35,9 +35,7 @@ import net.shibboleth.idp.attribute.resolver.spring.impl.InputAttributeDefinitio
 import net.shibboleth.idp.attribute.resolver.spring.impl.InputDataConnectorParser;
 import net.shibboleth.shared.annotation.constraint.NotEmpty;
 import net.shibboleth.shared.logic.PredicateSupport;
-import net.shibboleth.shared.primitive.DeprecationSupport;
 import net.shibboleth.shared.primitive.StringSupport;
-import net.shibboleth.shared.primitive.DeprecationSupport.ObjectType;
 import net.shibboleth.shared.spring.custom.AbstractCustomBeanDefinitionParser;
 import net.shibboleth.shared.spring.util.SpringSupport;
 import net.shibboleth.shared.xml.ElementSupport;
@@ -110,11 +108,6 @@ public abstract class BaseResolverPluginParser extends AbstractCustomBeanDefinit
             }
         }
 
-        if (config.hasAttributeNS(null, "profileContextStrategyRef")) {
-            DeprecationSupport.warn(ObjectType.ATTRIBUTE, "profileContextStrategyRef",
-                    parserContext.getReaderContext().getResource().getDescription(), "(removed)");
-        }
-
         if (config.hasAttributeNS(null, "propagateResolutionExceptions")) {
             builder.addPropertyValue("propagateResolutionExceptions",
                     StringSupport.trimOrNull(config.getAttributeNS(null, "propagateResolutionExceptions")));
diff --git a/shib-attribute-resolver-spring/src/main/resources/schema/shibboleth-attribute-resolver.xsd b/shib-attribute-resolver-spring/src/main/resources/schema/shibboleth-attribute-resolver.xsd
index 14e4ab4aa..78bec7ee4 100644
--- a/shib-attribute-resolver-spring/src/main/resources/schema/shibboleth-attribute-resolver.xsd
+++ b/shib-attribute-resolver-spring/src/main/resources/schema/shibboleth-attribute-resolver.xsd
@@ -213,13 +213,6 @@
                 </documentation>
             </annotation>
         </attribute>
-        <attribute name="profileContextStrategyRef" type="resolver:string">
-            <annotation>
-                <documentation>
-                    A reference to a function to locate the profile context
-                </documentation>
-            </annotation>
-        </attribute>
         <attribute name="propagateResolutionExceptions" type="resolver:string">
             <annotation>
                 <documentation>

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


More information about the commits mailing list