aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-03-21 14:55:51 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-03-21 14:55:51 +0100
commitfe4cd5b18aab602ed030ea2a42b47875e85e380b (patch)
tree2107335a593245c522b157ae169675a35a054327
parentf3f35663f362ce6722eaa26598fb5aa8c4c6d962 (diff)
downloadmoa-id-spss-fe4cd5b18aab602ed030ea2a42b47875e85e380b.tar.gz
moa-id-spss-fe4cd5b18aab602ed030ea2a42b47875e85e380b.tar.bz2
moa-id-spss-fe4cd5b18aab602ed030ea2a42b47875e85e380b.zip
update JaxB Binding to solve configuration update problemes -> use Boolean instead of boolean
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java4
-rw-r--r--id/server/moa-id-commons/src/main/resources/config/bindings.xjb1
2 files changed, 2 insertions, 3 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java
index ba2c08bb5..8b5c8d796 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java
@@ -398,11 +398,11 @@ public class AuthConfigurationProvider extends ConfigurationProvider {
MOAIDConfiguration moaconfig = BuildFromLegacyConfig.build(new File(legacyconfig), rootConfigFileDir, null);
- List<OnlineApplication> oas = moaconfig.getOnlineApplications();
+ List<OnlineApplication> oas = moaconfig.getOnlineApplication();
for (OnlineApplication oa : oas)
ConfigurationDBUtils.save(oa);
- moaconfig.setOnlineApplications(null);
+ moaconfig.setOnlineApplication(null);
ConfigurationDBUtils.save(moaconfig);
Logger.info("Legacy Configuration load is completed.");
diff --git a/id/server/moa-id-commons/src/main/resources/config/bindings.xjb b/id/server/moa-id-commons/src/main/resources/config/bindings.xjb
index bb063a73c..f2701bec4 100644
--- a/id/server/moa-id-commons/src/main/resources/config/bindings.xjb
+++ b/id/server/moa-id-commons/src/main/resources/config/bindings.xjb
@@ -6,7 +6,6 @@
<jaxb:bindings schemaLocation="moaid_config_2.0.xsd" node="/xsd:schema">
<jaxb:globalBindings localScoping="toplevel">
<jaxb:serializable/>
- <xjc:simple/>
<xjc:javaType name="java.lang.Boolean"
xmlType="xsd:boolean"
adapter="com.sun.tools.xjc.runtime.ZeroOneBooleanAdapter"/>