aboutsummaryrefslogtreecommitdiff
path: root/connector_lib
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2019-10-31 08:16:30 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2019-10-31 08:16:30 +0100
commit5bda3bcc87f7c58dfa782e76eecb183631369ede (patch)
tree294ba6f01edafc041cda6375a2b3447060351f03 /connector_lib
parent319dff9d1a119f94789b30e4d4e0d1df25ba7ce6 (diff)
downloadNational_eIDAS_Gateway-5bda3bcc87f7c58dfa782e76eecb183631369ede.tar.gz
National_eIDAS_Gateway-5bda3bcc87f7c58dfa782e76eecb183631369ede.tar.bz2
National_eIDAS_Gateway-5bda3bcc87f7c58dfa782e76eecb183631369ede.zip
add jUnit tests for static ProviderName
include an update to eaaf-core 1.0.12-snapshot
Diffstat (limited to 'connector_lib')
-rw-r--r--connector_lib/src/main/java/at/asitplus/eidas/specific/connector/gui/StaticGuiBuilderConfiguration.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/connector_lib/src/main/java/at/asitplus/eidas/specific/connector/gui/StaticGuiBuilderConfiguration.java b/connector_lib/src/main/java/at/asitplus/eidas/specific/connector/gui/StaticGuiBuilderConfiguration.java
index 088c48a7..f3211598 100644
--- a/connector_lib/src/main/java/at/asitplus/eidas/specific/connector/gui/StaticGuiBuilderConfiguration.java
+++ b/connector_lib/src/main/java/at/asitplus/eidas/specific/connector/gui/StaticGuiBuilderConfiguration.java
@@ -39,6 +39,7 @@ import org.slf4j.LoggerFactory;
import at.asitplus.eidas.specific.connector.MSeIDASNodeConstants;
import at.gv.egiz.eaaf.core.api.IRequest;
+import at.gv.egiz.eaaf.core.api.gui.GroupDefinition;
import at.gv.egiz.eaaf.core.api.gui.IVelocityGUIBuilderConfiguration;
import at.gv.egiz.eaaf.core.api.gui.ModifyableGuiBuilderConfiguration;
import at.gv.egiz.eaaf.core.api.idp.IConfiguration;
@@ -101,13 +102,13 @@ public class StaticGuiBuilderConfiguration extends AbstractGUIFormBuilderConfigu
}
@Override
- public void putCustomParameterWithOutEscaption(String group, String key, Object value) {
+ public void putCustomParameterWithOutEscaption(GroupDefinition group, String key, Object value) {
log.info("Add GUI-Template parameters WITHOUT escaption ARE NOT supported!!!!!");
}
@Override
- public void putCustomParameter(String group, String key, String value) {
+ public void putCustomParameter(GroupDefinition group, String key, String value) {
setViewParameter(getFromGroup(), key, StringEscapeUtils.escapeHtml(value));
}
@@ -123,7 +124,7 @@ public class StaticGuiBuilderConfiguration extends AbstractGUIFormBuilderConfigu
}
@Override
- protected String getFromGroup() {
+ protected GroupDefinition getFromGroup() {
return null;
}