[java-idp-plugin-duo] branch main updated: Add test bean for string array handling.
Scott Cantor
cantor.2 at osu.edu
Thu Jan 4 18:28:59 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=4341a8fd0c89e1638f558d07d733e07c79df5707
The following commit(s) were added to refs/heads/main by this push:
new 4341a8fd Add test bean for string array handling.
4341a8fd is described below
commit 4341a8fd0c89e1638f558d07d733e07c79df5707
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Jan 4 13:28:57 2024 -0500
Add test bean for string array handling.
---
.../plugin/authn/duo/impl/AbstractAuthnXmlFlowExecutionTests.java | 5 +++++
1 file changed, 5 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 a304e27c..d43d3172 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
@@ -50,6 +50,7 @@ import org.springframework.mock.env.MockPropertySource;
import org.springframework.mock.web.MockHttpServletRequest;
import org.springframework.mock.web.MockHttpServletResponse;
import org.springframework.test.context.ContextConfiguration;
+import org.springframework.util.StringUtils;
import org.springframework.webflow.config.FlowDefinitionResource;
import org.springframework.webflow.config.FlowDefinitionResourceFactory;
import org.springframework.webflow.engine.Flow;
@@ -437,6 +438,10 @@ public abstract class AbstractAuthnXmlFlowExecutionTests extends CustomAbstractX
genericBeanDefinition(SpringExpressionBiPredicate.class)
.setAbstract(true).getBeanDefinition());
+ addBeanDefinition(builderContext, "shibboleth.CommaDelimStringArray",BeanDefinitionBuilder.
+ genericBeanDefinition(StringUtils.class)
+ .setFactoryMethod("commaDelimitedListToStringArray").setAbstract(true).getBeanDefinition());
+
if (clientFactory != null) {
//register the client factory
builderContext.registerBean("shibboleth.authn.DuoOIDC.test.clientFactory", clientFactory);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list