[java-idp-plugin-duo] branch main updated: Add missing mock bean.

Scott Cantor cantor.2 at osu.edu
Thu Jan 4 17:00:31 UTC 2024


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

scantor pushed a commit to branch main
in repository java-idp-plugin-duo.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-duo.git;a=commit;h=b2fb97e687330d71f1ca278af16fef85ac2e42e9

The following commit(s) were added to refs/heads/main by this push:
     new b2fb97e6 Add missing mock bean.
b2fb97e6 is described below

commit b2fb97e687330d71f1ca278af16fef85ac2e42e9
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Jan 4 12:00:28 2024 -0500

    Add missing mock bean.
---
 .../idp/plugin/authn/duo/impl/AbstractAuthnXmlFlowExecutionTests.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/duo/impl/AbstractAuthnXmlFlowExecutionTests.java b/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/duo/impl/AbstractAuthnXmlFlowExecutionTests.java
index ba3cb1f0..a304e27c 100644
--- a/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/duo/impl/AbstractAuthnXmlFlowExecutionTests.java
+++ b/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/duo/impl/AbstractAuthnXmlFlowExecutionTests.java
@@ -81,6 +81,7 @@ import net.shibboleth.shared.spring.config.StringBooleanToPredicateConverter;
 import net.shibboleth.shared.spring.config.StringToDurationConverter;
 import net.shibboleth.shared.spring.config.StringToIPRangeConverter;
 import net.shibboleth.shared.spring.config.StringToResourceConverter;
+import net.shibboleth.shared.spring.expression.SpringExpressionBiPredicate;
 import net.shibboleth.shared.spring.resource.ConditionalResourceResolver;
 import net.shibboleth.shared.spring.util.AnnotationParameterNameDiscoverer;
 
@@ -432,6 +433,9 @@ public abstract class AbstractAuthnXmlFlowExecutionTests extends CustomAbstractX
         addBeanDefinition(builderContext, "shibboleth.Functions.Constant",BeanDefinitionBuilder.
                 genericBeanDefinition(FunctionSupport.class)
                 .setFactoryMethod("constant").setAbstract(true).getBeanDefinition());
+        addBeanDefinition(builderContext, "shibboleth.BiConditions.Expression",BeanDefinitionBuilder.
+                genericBeanDefinition(SpringExpressionBiPredicate.class)
+                .setAbstract(true).getBeanDefinition());
         
         if (clientFactory != null) {
             //register the client factory

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


More information about the commits mailing list