From 5bda3bcc87f7c58dfa782e76eecb183631369ede Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Thu, 31 Oct 2019 08:16:30 +0100 Subject: add jUnit tests for static ProviderName include an update to eaaf-core 1.0.12-snapshot --- .../specific/connector/gui/StaticGuiBuilderConfiguration.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'connector_lib/src') 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; } -- cgit v1.2.3