aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-03-27 18:26:46 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-03-27 18:26:46 +0100
commit333e516f0c5f82ec28589de088f0905bd92e7fe2 (patch)
tree4bc79b9508a87f47beb7a948b808a797e5bf76e2 /id/ConfigWebTool
parent26c213f0ff63f64770e9fa56a4148e84f4e03a93 (diff)
downloadmoa-id-spss-333e516f0c5f82ec28589de088f0905bd92e7fe2.tar.gz
moa-id-spss-333e516f0c5f82ec28589de088f0905bd92e7fe2.tar.bz2
moa-id-spss-333e516f0c5f82ec28589de088f0905bd92e7fe2.zip
bugfix STORK PEPS countries and newOA
Diffstat (limited to 'id/ConfigWebTool')
-rw-r--r--id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java12
1 files 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<String> enabledCitizenCountries;
public OASTORKConfig() {
-
+ // fetch available citizen countries
+ citizenCountries = new ArrayList<String>();
+ 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<String>();
- for(CPEPS current : ConfigurationDBRead.getMOAIDConfiguration().getAuthComponentGeneral().getForeignIdentities().getSTORK().getCPEPS()) {
- citizenCountries.add(current.getCountryCode());
- }
+
enabledCitizenCountries = new ArrayList<String>();
for(CPEPS current : config.getCPEPS())
enabledCitizenCountries.add(current.getCountryCode());