summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/module/test/DummySpConfiguration.java12
1 files changed, 12 insertions, 0 deletions
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<String> getRequiredLoA() {
+ String loa = getConfigurationValue("loa");
+ return StringUtils.isNotEmpty(loa) ? Arrays.asList(loa) : Collections.emptyList();
+
+ }
}