[java-identity-provider] 05/05: IDP-1179 Add in warning placeholders with old RDBMS impl classes

Rod Widdowson rdw at steadingsoftware.com
Fri Dec 6 09:03:33 EST 2019


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

rdw pushed a commit to branch master
in repository java-identity-provider.

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

commit f1bb6f1000abd873ea8ce9ef6357c40b8675b91c
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Thu Dec 5 16:45:06 2019 +0000

    IDP-1179 Add in warning placeholders with old RDBMS impl classes
    
    https://issues.shibboleth.net/jira/browse/IDP-1179
    
    	ParameterizedExecutableSearchFilterBuilder
    	StringAttributeValueMappingStrategy
    	TemplatedExecutableSearchFilterBuilder
---
 ...ParameterizedExecutableSearchFilterBuilder.java | 43 ++++++++++++++++++++++
 .../impl/StringAttributeValueMappingStrategy.java  | 42 +++++++++++++++++++++
 .../TemplatedExecutableSearchFilterBuilder.java    | 42 +++++++++++++++++++++
 3 files changed, 127 insertions(+)

diff --git a/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ldap/impl/ParameterizedExecutableSearchFilterBuilder.java b/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ldap/impl/ParameterizedExecutableSearchFilterBuilder.java
new file mode 100644
index 0000000..4687a08
--- /dev/null
+++ b/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ldap/impl/ParameterizedExecutableSearchFilterBuilder.java
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the University Corporation for Advanced Internet Development,
+ * Inc. (UCAID) under one or more contributor license agreements.  See the
+ * NOTICE file distributed with this work for additional information regarding
+ * copyright ownership. The UCAID licenses this file to You under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.shibboleth.idp.attribute.resolver.dc.ldap.impl;
+
+import net.shibboleth.utilities.java.support.primitive.DeprecationSupport;
+import net.shibboleth.utilities.java.support.primitive.DeprecationSupport.ObjectType;
+
+/**
+ * Classpath placeholder for legacy configuration.
+ * @deprecated
+ */
+ at Deprecated public class ParameterizedExecutableSearchFilterBuilder
+        extends net.shibboleth.idp.attribute.resolver.dc.ldap.ParameterizedExecutableSearchFilterBuilder {
+
+    /**
+     * Constructor.
+     *
+     */
+    public ParameterizedExecutableSearchFilterBuilder() {
+        super();
+        // V4 deprecation
+        DeprecationSupport.warnOnce(ObjectType.CLASS,
+                "net.shibboleth.idp.attribute.resolver.dc.ldap.impl.ParameterizedExecutableSearchFilterBuilder", 
+                null, 
+                "net.shibboleth.idp.attribute.resolver.dc.ldap.ParameterizedExecutableSearchFilterBuilder");
+    }
+
+}
diff --git a/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ldap/impl/StringAttributeValueMappingStrategy.java b/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ldap/impl/StringAttributeValueMappingStrategy.java
new file mode 100644
index 0000000..f8b3e00
--- /dev/null
+++ b/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ldap/impl/StringAttributeValueMappingStrategy.java
@@ -0,0 +1,42 @@
+/*
+ * Licensed to the University Corporation for Advanced Internet Development,
+ * Inc. (UCAID) under one or more contributor license agreements.  See the
+ * NOTICE file distributed with this work for additional information regarding
+ * copyright ownership. The UCAID licenses this file to You under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.shibboleth.idp.attribute.resolver.dc.ldap.impl;
+
+import net.shibboleth.utilities.java.support.primitive.DeprecationSupport;
+import net.shibboleth.utilities.java.support.primitive.DeprecationSupport.ObjectType;
+
+/**
+* Classpath placeholder for legacy configurations.
+* @deprecated
+*/
+ at Deprecated public class StringAttributeValueMappingStrategy
+        extends net.shibboleth.idp.attribute.resolver.dc.ldap.StringAttributeValueMappingStrategy {
+
+    /**
+     * Constructor.
+     */
+    public StringAttributeValueMappingStrategy() {
+        super();
+        // V4 deprecation
+        DeprecationSupport.warnOnce(ObjectType.CLASS,
+                "net.shibboleth.idp.attribute.resolver.dc.ldap.impl.StringAttributeValueMappingStrategy", 
+                null, 
+                "net.shibboleth.idp.attribute.resolver.dc.ldap.StringAttributeValueMappingStrategy");
+    }
+
+}
diff --git a/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ldap/impl/TemplatedExecutableSearchFilterBuilder.java b/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ldap/impl/TemplatedExecutableSearchFilterBuilder.java
new file mode 100644
index 0000000..245c693
--- /dev/null
+++ b/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ldap/impl/TemplatedExecutableSearchFilterBuilder.java
@@ -0,0 +1,42 @@
+/*
+ * Licensed to the University Corporation for Advanced Internet Development,
+ * Inc. (UCAID) under one or more contributor license agreements.  See the
+ * NOTICE file distributed with this work for additional information regarding
+ * copyright ownership. The UCAID licenses this file to You under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.shibboleth.idp.attribute.resolver.dc.ldap.impl;
+
+import net.shibboleth.utilities.java.support.primitive.DeprecationSupport;
+import net.shibboleth.utilities.java.support.primitive.DeprecationSupport.ObjectType;
+
+/**
+* Classpath placeholder for legacy configurations.
+* @deprecated
+*/
+ at Deprecated public class TemplatedExecutableSearchFilterBuilder extends
+    V2CompatibleTemplatedExecutableSearchFilterBuilder {
+
+    /**
+     * Constructor.
+     */
+    public TemplatedExecutableSearchFilterBuilder() {
+        super();
+        // V4 deprecation
+        DeprecationSupport.warnOnce(ObjectType.CLASS,
+                "net.shibboleth.idp.attribute.resolver.dc.ldap.impl.TemplatedExecutableSearchFilterBuilder", 
+                null, 
+                "net.shibboleth.idp.attribute.resolver.dc.ldap.TemplatedExecutableSearchFilterBuilder");
+    }
+
+}

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


More information about the commits mailing list