[java-identity-provider] 01/02: Replace Guava calls and add a constant Predicate bean.

Scott Cantor cantor.2 at osu.edu
Thu Nov 16 21:09:05 UTC 2023


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

commit afdcbd4482b52a0f8c9fb47cbaff70ff91f84c38
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Nov 16 16:02:03 2023 -0500

    Replace Guava calls and add a constant Predicate bean.
---
 .../src/main/resources/net/shibboleth/idp/conf/conditions.xml      | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/conditions.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/conditions.xml
index 45bb7cad1..28281bdb5 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/conditions.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/conditions.xml
@@ -13,9 +13,9 @@
        default-destroy-method="destroy">
 
     <bean id="shibboleth.Conditions.FALSE"
-        class="com.google.common.base.Predicates" factory-method="alwaysFalse" />
+        class="net.shibboleth.shared.logic.PredicateSupport" factory-method="alwaysFalse" />
     <bean id="shibboleth.Conditions.TRUE"
-        class="com.google.common.base.Predicates" factory-method="alwaysTrue" />
+        class="net.shibboleth.shared.logic.PredicateSupport" factory-method="alwaysTrue" />
     
     <bean id="shibboleth.Conditions.AND"
         class="net.shibboleth.shared.logic.PredicateSupport" factory-method="and" abstract="true" />
@@ -24,6 +24,9 @@
     <bean id="shibboleth.Conditions.OR"
         class="net.shibboleth.shared.logic.PredicateSupport" factory-method="or" abstract="true" />
 
+    <bean id="shibboleth.Conditions.Constant" abstract="true"
+        class="net.shibboleth.shared.logic.PredicateSupport" factory-method="constant" />
+
     <bean id="shibboleth.BiConditions.AND"
         class="net.shibboleth.shared.logic.BiPredicateSupport" factory-method="and" abstract="true" />
     <bean id="shibboleth.BiConditions.NOT"

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


More information about the commits mailing list