From 3547ac6152cd8fce365f0f01197a205f639e3313 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Tue, 21 Oct 2014 10:20:24 +0200 Subject: change SAML2 POST binding target to _top --- .../src/main/resources/resources/templates/saml2-post-binding-moa.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/id/server/idserverlib/src/main/resources/resources/templates/saml2-post-binding-moa.vm b/id/server/idserverlib/src/main/resources/resources/templates/saml2-post-binding-moa.vm index cac0bda76..8beb601c6 100644 --- a/id/server/idserverlib/src/main/resources/resources/templates/saml2-post-binding-moa.vm +++ b/id/server/idserverlib/src/main/resources/resources/templates/saml2-post-binding-moa.vm @@ -18,7 +18,7 @@

-
+
#if($RelayState)#end -- cgit v1.2.3 From 20698a2dcef3de3a8364d2906354c556de0230cd Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Tue, 21 Oct 2014 10:21:45 +0200 Subject: remove debug log messages --- .../struts/action/EditGeneralConfigAction.java | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/struts/action/EditGeneralConfigAction.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/struts/action/EditGeneralConfigAction.java index 7f609d95e..a4ca3e403 100644 --- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/struts/action/EditGeneralConfigAction.java +++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/struts/action/EditGeneralConfigAction.java @@ -222,15 +222,15 @@ public class EditGeneralConfigAction extends BasicAction { private String saveFormToDatabase() { log.debug("Saving form to database"); - log.error("Saving form to db"); - log.info("SV frm db"); +// log.error("Saving form to db"); +// log.info("SV frm db"); - for (Object obj : Collections.list(request.getParameterNames())) { - log.error(" PARAM: " + obj.toString()); - } - for (Object obj : Collections.list(request.getSession().getAttributeNames())) { - log.error(" SES PARAM: " + obj.toString()); - } +// for (Object obj : Collections.list(request.getParameterNames())) { +// log.error(" PARAM: " + obj.toString()); +// } +// for (Object obj : Collections.list(request.getSession().getAttributeNames())) { +// log.error(" SES PARAM: " + obj.toString()); +// } try { log.error(" ASSERTION " + moaconfig.getTimeoutAssertion()); @@ -523,8 +523,11 @@ public class EditGeneralConfigAction extends BasicAction { ForeignIdentities foreign = dbauth.getForeignIdentities(); if (foreign != null) { STORK stork = foreign.getSTORK(); - if (stork == null) + if (stork == null) { stork = new STORK(); + foreign.setSTORK(stork); + + } try { log.error("QAAAA " + storkconfig.getDefaultQaa()); -- cgit v1.2.3 From 5800108b102d778a241a6e0abc61b655891050e8 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Tue, 21 Oct 2014 10:22:05 +0200 Subject: update pom --- id/server/idserverlib/pom.xml | 4 ++++ id/server/moa-id-commons/pom.xml | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/id/server/idserverlib/pom.xml b/id/server/idserverlib/pom.xml index 00d128ca5..08c406cf1 100644 --- a/id/server/idserverlib/pom.xml +++ b/id/server/idserverlib/pom.xml @@ -241,6 +241,10 @@ org.slf4j log4j-over-slf4j + + bcprov-jdk15on + org.bouncycastle + diff --git a/id/server/moa-id-commons/pom.xml b/id/server/moa-id-commons/pom.xml index e6d708eca..efeb2a4be 100644 --- a/id/server/moa-id-commons/pom.xml +++ b/id/server/moa-id-commons/pom.xml @@ -175,7 +175,8 @@ maven-hyperjaxb3-plugin 0.5.6 - + + generate-sources generate -- cgit v1.2.3 From 1fb0a5ae9853d69153ee3b93a85d9085eb411f57 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Tue, 21 Oct 2014 10:22:23 +0200 Subject: change config tool version to 1.1.3 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bed1565c6..e7dff64f1 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,7 @@ 2.1.1 2.0.0 2.0.2 - 1.1.2 + 1.1.3 2.0.2 -- cgit v1.2.3 From 481963320bb314cd5b3fd459abe93f448bd677e9 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Tue, 21 Oct 2014 12:05:31 +0200 Subject: solve SameOriginPolicy problem in JavaScript code for responsive design --- id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html | 2 +- .../src/main/resources/resources/templates/loginFormFull.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html b/id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html index ef070b8eb..7e2ddc491 100644 --- a/id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html +++ b/id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html @@ -720,7 +720,7 @@ } } function onChangeChecks() { - if (top.innerWidth < 650) { + if (self.innerWidth < 650) { document.getElementById("moaidform").setAttribute("target","_parent"); } else { document.getElementById("moaidform").removeAttribute("target"); diff --git a/id/server/idserverlib/src/main/resources/resources/templates/loginFormFull.html b/id/server/idserverlib/src/main/resources/resources/templates/loginFormFull.html index ef070b8eb..7e2ddc491 100644 --- a/id/server/idserverlib/src/main/resources/resources/templates/loginFormFull.html +++ b/id/server/idserverlib/src/main/resources/resources/templates/loginFormFull.html @@ -720,7 +720,7 @@ } } function onChangeChecks() { - if (top.innerWidth < 650) { + if (self.innerWidth < 650) { document.getElementById("moaidform").setAttribute("target","_parent"); } else { document.getElementById("moaidform").removeAttribute("target"); -- cgit v1.2.3