diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-11-04 09:50:25 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-11-04 09:50:25 +0100 |
commit | 518839d9ade1e97d878e494903e088a5b0cf0359 (patch) | |
tree | 954b008011b4689e19710da6e3797079e68bc315 /id/server/idserverlib/src/main | |
parent | 7ed5f3385e7f8f9a455556404ded37e789a6e8e7 (diff) | |
download | moa-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')
-rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/PropertyBasedAuthConfigurationProvider.java | 14 |
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; + } + } |