aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/java/at/gv/egovernment
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-05-09 13:06:56 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-05-09 13:06:56 +0200
commit52974bce31be3803fb6e6525404998757cb8310e (patch)
tree28b8384a014a6f59ce643438dda8e7946700ed5f /id/ConfigWebTool/src/main/java/at/gv/egovernment
parent408246a7cd0f8931f224d9d4d8e4469ab7bc6a21 (diff)
downloadmoa-id-spss-52974bce31be3803fb6e6525404998757cb8310e.tar.gz
moa-id-spss-52974bce31be3803fb6e6525404998757cb8310e.tar.bz2
moa-id-spss-52974bce31be3803fb6e6525404998757cb8310e.zip
fix configuration errors
Diffstat (limited to 'id/ConfigWebTool/src/main/java/at/gv/egovernment')
-rw-r--r--id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/config/ConfigurationProvider.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/config/ConfigurationProvider.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/config/ConfigurationProvider.java
index 84af0d225..a2aa2a8a4 100644
--- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/config/ConfigurationProvider.java
+++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/config/ConfigurationProvider.java
@@ -488,12 +488,12 @@ public class ConfigurationProvider {
if (metadataurl.startsWith("https:")) {
try {
MOAHttpProtocolSocketFactory protoSocketFactory = new MOAHttpProtocolSocketFactory(
- "MOAMetaDataProvider",
- AuthConfigurationProvider.getInstance().getCertstoreDirectory(),
- AuthConfigurationProvider.getInstance().getTrustedCACertificates(),
+ "MOAMetaDataProvider",
+ ConfigurationProvider.getInstance().getCertStoreDirectory(),
+ ConfigurationProvider.getInstance().getTrustStoreDirectory(),
null,
- ChainingModeType.fromValue(AuthConfigurationProvider.getInstance().getDefaultChainingMode()),
- AuthConfigurationProvider.getInstance().isTrustmanagerrevoationchecking());
+ ChainingModeType.PKIX,
+ true);
httpClient.setCustomSSLTrustStore(metadataurl, protoSocketFactory);