From 333e516f0c5f82ec28589de088f0905bd92e7fe2 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Thu, 27 Mar 2014 18:26:46 +0100 Subject: bugfix STORK PEPS countries and newOA --- .../moa/id/configuration/data/oa/OASTORKConfig.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java index 9eca86976..b99a7d5c0 100644 --- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java +++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java @@ -53,7 +53,11 @@ public class OASTORKConfig { private List enabledCitizenCountries; public OASTORKConfig() { - + // fetch available citizen countries + citizenCountries = new ArrayList(); + for(CPEPS current : ConfigurationDBRead.getMOAIDConfiguration().getAuthComponentGeneral().getForeignIdentities().getSTORK().getCPEPS()) { + citizenCountries.add(current.getCountryCode()); + } } /** @@ -76,11 +80,7 @@ public class OASTORKConfig { setQaa(ConfigurationDBRead.getMOAIDConfiguration().getAuthComponentGeneral().getForeignIdentities().getSTORK().getQualityAuthenticationAssuranceLevel()); } - // fetch available citizen countries - citizenCountries = new ArrayList(); - for(CPEPS current : ConfigurationDBRead.getMOAIDConfiguration().getAuthComponentGeneral().getForeignIdentities().getSTORK().getCPEPS()) { - citizenCountries.add(current.getCountryCode()); - } + enabledCitizenCountries = new ArrayList(); for(CPEPS current : config.getCPEPS()) enabledCitizenCountries.add(current.getCountryCode()); -- cgit v1.2.3