aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/java
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-07-14 08:56:00 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-07-14 08:56:00 +0200
commitecbe783def54f0548c67290065dbd2047d1ea375 (patch)
tree1c121a7b9c36daa039581820b21f4fc61ffe4dc7 /id/ConfigWebTool/src/main/java
parentc599f3bdc249c9b5bfcfcdc2a3e290734077aa8c (diff)
downloadmoa-id-spss-ecbe783def54f0548c67290065dbd2047d1ea375.tar.gz
moa-id-spss-ecbe783def54f0548c67290065dbd2047d1ea375.tar.bz2
moa-id-spss-ecbe783def54f0548c67290065dbd2047d1ea375.zip
load default value if no configuration is found
Diffstat (limited to 'id/ConfigWebTool/src/main/java')
-rw-r--r--id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/GeneralMOAIDConfig.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/GeneralMOAIDConfig.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/GeneralMOAIDConfig.java
index 681641834..f29780f05 100644
--- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/GeneralMOAIDConfig.java
+++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/GeneralMOAIDConfig.java
@@ -159,7 +159,8 @@ public class GeneralMOAIDConfig {
if (authgen != null) {
alternativeSourceID = authgen.getAlternativeSourceID();
certStoreDirectory = authgen.getCertStoreDirectory();
- trustmanagerrevocationcheck = authgen.isTrustManagerRevocationChecking();
+ if (authgen.isTrustManagerRevocationChecking() != null)
+ trustmanagerrevocationcheck = authgen.isTrustManagerRevocationChecking();
publicURLPrefix = authgen.getPublicURLPreFix();