aboutsummaryrefslogtreecommitdiff
path: root/connector_lib/src/test
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2021-01-22 17:18:19 +0100
committerThomas <>2022-03-03 16:31:56 +0100
commit069b4226dc854817f956a58a59ce44049eda99fb (patch)
treeaad74f341f8f8bb318969c31dde44ba2649ea243 /connector_lib/src/test
parentbab20b30d6a2ed9c5a6e739260027d23b933dc00 (diff)
downloadNational_eIDAS_Gateway-069b4226dc854817f956a58a59ce44049eda99fb.tar.gz
National_eIDAS_Gateway-069b4226dc854817f956a58a59ce44049eda99fb.tar.bz2
National_eIDAS_Gateway-069b4226dc854817f956a58a59ce44049eda99fb.zip
add basic implementation of eIDAS-Node Proxy-Service request-controller
add raw version of eIDAS-Node response-generation action
Diffstat (limited to 'connector_lib/src/test')
-rw-r--r--connector_lib/src/test/java/at/asitplus/eidas/specific/connector/test/config/dummy/MsConnectorDummyConfigMap.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/connector_lib/src/test/java/at/asitplus/eidas/specific/connector/test/config/dummy/MsConnectorDummyConfigMap.java b/connector_lib/src/test/java/at/asitplus/eidas/specific/connector/test/config/dummy/MsConnectorDummyConfigMap.java
index 42e31377..52ff990b 100644
--- a/connector_lib/src/test/java/at/asitplus/eidas/specific/connector/test/config/dummy/MsConnectorDummyConfigMap.java
+++ b/connector_lib/src/test/java/at/asitplus/eidas/specific/connector/test/config/dummy/MsConnectorDummyConfigMap.java
@@ -4,10 +4,12 @@ import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.net.URISyntaxException;
+import java.net.URL;
import java.util.Map;
import org.apache.commons.lang3.StringUtils;
+import at.gv.egiz.eaaf.core.exceptions.EaafException;
import at.gv.egiz.eaaf.core.test.dummy.DummyAuthConfigMap;
import lombok.Setter;
@@ -62,6 +64,12 @@ public class MsConnectorDummyConfigMap extends DummyAuthConfigMap {
}
@Override
+ public String validateIdpUrl(final URL authReqUrl) throws EaafException {
+ return authReqUrl.toExternalForm();
+
+ }
+
+ @Override
public Map<String, String> getBasicConfigurationWithPrefix(final String prefix) {
return super.getBasicConfigurationWithPrefix(addPrefixToKey(prefix));