diff options
author | Thomas <> | 2021-07-09 16:33:43 +0200 |
---|---|---|
committer | Thomas <> | 2021-07-09 16:33:43 +0200 |
commit | 71f08ecf949e9a741505587e1ffa87a8ef51adad (patch) | |
tree | 9df70e23ae99c9156aedae978bf20d1f75dc9ace /eaaf_core/src/test/java/at/gv/egiz/eaaf | |
parent | b4cbcc2c27c450719fad325ba7d7126d8688d7f2 (diff) | |
download | EAAF-Components-71f08ecf949e9a741505587e1ffa87a8ef51adad.tar.gz EAAF-Components-71f08ecf949e9a741505587e1ffa87a8ef51adad.tar.bz2 EAAF-Components-71f08ecf949e9a741505587e1ffa87a8ef51adad.zip |
add new method into DummySpConfiguration
Diffstat (limited to 'eaaf_core/src/test/java/at/gv/egiz/eaaf')
-rw-r--r-- | eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/module/test/DummySpConfiguration.java | 12 |
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(); + + } } |