aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-11-04 09:50:25 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-11-04 09:50:25 +0100
commit518839d9ade1e97d878e494903e088a5b0cf0359 (patch)
tree954b008011b4689e19710da6e3797079e68bc315 /id/server/idserverlib/src/main/java
parent7ed5f3385e7f8f9a455556404ded37e789a6e8e7 (diff)
downloadmoa-id-spss-518839d9ade1e97d878e494903e088a5b0cf0359.tar.gz
moa-id-spss-518839d9ade1e97d878e494903e088a5b0cf0359.tar.bz2
moa-id-spss-518839d9ade1e97d878e494903e088a5b0cf0359.zip
update Http client for MIS communication
Diffstat (limited to 'id/server/idserverlib/src/main/java')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/PropertyBasedAuthConfigurationProvider.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/PropertyBasedAuthConfigurationProvider.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/PropertyBasedAuthConfigurationProvider.java
index 8e98c5129..7e0f48744 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/PropertyBasedAuthConfigurationProvider.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/PropertyBasedAuthConfigurationProvider.java
@@ -1297,4 +1297,18 @@ public class PropertyBasedAuthConfigurationProvider extends ConfigurationProvide
return false;
}
+
+ /* (non-Javadoc)
+ * @see at.gv.egovernment.moa.id.commons.api.AuthConfiguration#getBasicMOAIDConfigurationBoolean(java.lang.String, boolean)
+ */
+ @Override
+ public boolean getBasicMOAIDConfigurationBoolean(String key, boolean defaultValue) {
+ String value = properties.getProperty(key);
+
+ if (MiscUtil.isNotEmpty(value))
+ return Boolean.valueOf(value);
+
+ return defaultValue;
+ }
+
}