aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main
diff options
context:
space:
mode:
authorFlorian Reimair <florian.reimair@iaik.tugraz.at>2015-03-13 16:03:33 +0100
committerFlorian Reimair <florian.reimair@iaik.tugraz.at>2015-03-13 16:03:33 +0100
commit9ac6c3342ba7afdd75838230d13ceda70614cedc (patch)
tree9a0bb360880e61b748ef1d843f530fde949a5c61 /id/server/idserverlib/src/main
parent12c3c34ea26ff20e39c9b67f698e9c8b99ef11ee (diff)
downloadmoa-id-spss-9ac6c3342ba7afdd75838230d13ceda70614cedc.tar.gz
moa-id-spss-9ac6c3342ba7afdd75838230d13ceda70614cedc.tar.bz2
moa-id-spss-9ac6c3342ba7afdd75838230d13ceda70614cedc.zip
added fakeidl no-signature option config
Diffstat (limited to 'id/server/idserverlib/src/main')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java10
1 files changed, 10 insertions, 0 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 c746c0888..d33a9ea92 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
@@ -1042,6 +1042,16 @@ public class AuthConfigurationProvider extends ConfigurationProvider {
return null;
}
+ /**
+ * Gets the countries for which it is configured to require no signature
+ *
+ * @return the stork no signature countries
+ */
+ public List<String> getStorkNoSignatureCountries() {
+ String prop = props.getProperty("stork.fakeIdL.noSignatureCountries", "");
+ return Arrays.asList(prop.replaceAll(" ", "").split(","));
+ }
+
public boolean isMonitoringActive() {
String prop = props.getProperty("configuration.monitoring.active", "false");
return Boolean.valueOf(prop);