diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2017-09-13 15:52:52 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2017-09-13 15:52:52 +0200 |
commit | 91cf10d88f06b1ff26721c8796deb8d6510c1df7 (patch) | |
tree | f139602d638af40a421df14df497a4ee6e68bb6b /id/moa-id-webgui/src/main/java/at/gv | |
parent | be5ad88d1e4ee3060ded2c7661954e8211802ad3 (diff) | |
download | moa-id-spss-91cf10d88f06b1ff26721c8796deb8d6510c1df7.tar.gz moa-id-spss-91cf10d88f06b1ff26721c8796deb8d6510c1df7.tar.bz2 moa-id-spss-91cf10d88f06b1ff26721c8796deb8d6510c1df7.zip |
update eIDAS country selector
Diffstat (limited to 'id/moa-id-webgui/src/main/java/at/gv')
-rw-r--r-- | id/moa-id-webgui/src/main/java/at/gv/egovernment/moa/id/config/webgui/validation/task/impl/GeneralSTORKConfigurationTask.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/id/moa-id-webgui/src/main/java/at/gv/egovernment/moa/id/config/webgui/validation/task/impl/GeneralSTORKConfigurationTask.java b/id/moa-id-webgui/src/main/java/at/gv/egovernment/moa/id/config/webgui/validation/task/impl/GeneralSTORKConfigurationTask.java index fb675ad43..df67ca2f1 100644 --- a/id/moa-id-webgui/src/main/java/at/gv/egovernment/moa/id/config/webgui/validation/task/impl/GeneralSTORKConfigurationTask.java +++ b/id/moa-id-webgui/src/main/java/at/gv/egovernment/moa/id/config/webgui/validation/task/impl/GeneralSTORKConfigurationTask.java @@ -125,7 +125,7 @@ public static final List<String> KEYWHITELIST; LanguageHelper.getErrorString("validation.stork.cpeps.cc", new Object[] {ValidationHelper.getPotentialCSSCharacter(false)}))); } - if(!cc.toLowerCase().matches("(^[a-z][a-z]$)|(^[a-z][a-z]-[a-z]*)")) { + if(!cc.toLowerCase().matches("(^[a-z][a-z]$)|(^[a-z][a-z]-[a-z,0-9]*)")) { log.warn("CPEPS config countrycode does not comply to ISO 3166-2 : " + cc); errors.add(new ValidationObjectIdentifier( MOAIDConfigurationConstants.GENERAL_AUTH_STORK_CPEPS_LIST |