From 71f08ecf949e9a741505587e1ffa87a8ef51adad Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Fri, 9 Jul 2021 16:33:43 +0200 Subject: add new method into DummySpConfiguration --- .../eaaf/core/impl/idp/module/test/DummySpConfiguration.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'eaaf_core/src') diff --git a/eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/module/test/DummySpConfiguration.java b/eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/module/test/DummySpConfiguration.java index 87e91609..ed113683 100644 --- a/eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/module/test/DummySpConfiguration.java +++ b/eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/module/test/DummySpConfiguration.java @@ -1,7 +1,12 @@ package at.gv.egiz.eaaf.core.impl.idp.module.test; +import java.util.Arrays; +import java.util.Collections; +import java.util.List; import java.util.Map; +import org.apache.commons.lang3.StringUtils; + import at.gv.egiz.eaaf.core.api.idp.IConfiguration; import at.gv.egiz.eaaf.core.impl.idp.conf.SpConfigurationImpl; @@ -19,5 +24,12 @@ public class DummySpConfiguration extends SpConfigurationImpl { return getConfigurationValue("target"); } + + @Override + public List getRequiredLoA() { + String loa = getConfigurationValue("loa"); + return StringUtils.isNotEmpty(loa) ? Arrays.asList(loa) : Collections.emptyList(); + + } } -- cgit v1.2.3