aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d>2004-04-26 13:36:23 +0000
committerrudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d>2004-04-26 13:36:23 +0000
commit626134634da261381b5c78490130596fc8b5d0fe (patch)
tree07ecdbb3b010431a3ea268edb8427d79bd9f30e5
parent5dadb864953faf31d7308702d797caea1ba31e8c (diff)
downloadmoa-id-spss-626134634da261381b5c78490130596fc8b5d0fe.tar.gz
moa-id-spss-626134634da261381b5c78490130596fc8b5d0fe.tar.bz2
moa-id-spss-626134634da261381b5c78490130596fc8b5d0fe.zip
Ă„nderung desVariablennamens disableHostnameVerification in cbDisableHostnameVerification (RSCH)
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@118 d688527b-c9ab-4aba-bd8d-4036d912da1d
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/proxy/DefaultConnectionBuilder.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/DefaultConnectionBuilder.java b/id.server/src/at/gv/egovernment/moa/id/proxy/DefaultConnectionBuilder.java
index bdadcbb81..7807955c2 100644
--- a/id.server/src/at/gv/egovernment/moa/id/proxy/DefaultConnectionBuilder.java
+++ b/id.server/src/at/gv/egovernment/moa/id/proxy/DefaultConnectionBuilder.java
@@ -26,19 +26,19 @@ import com.sun.net.ssl.HttpsURLConnection;
public class DefaultConnectionBuilder implements ConnectionBuilder {
/** a boolean to disable the HostnameVerification (default = false)*/
- private static boolean disableHostnameVerification = false;
+ private static boolean cbDisableHostnameVerification = false;
/**
* Constructor for DefaultConnectionBuilder.
* @throws ConfigurationException on any config error
*/
public DefaultConnectionBuilder() throws ConfigurationException {
- disableHostnameVerification = BoolUtils.valueOf(
+ cbDisableHostnameVerification = BoolUtils.valueOf(
ProxyConfigurationProvider.getInstance().getGenericConfigurationParameter(
"ProxyComponent.DisableHostnameVerification"));
//TODO MOA-ID BRZ undocumented feature
- if (disableHostnameVerification)
- Logger.warn("ProxyComponent.DisableHostnameVerification: " + disableHostnameVerification);
+ if (cbDisableHostnameVerification)
+ Logger.warn("ProxyComponent.DisableHostnameVerification: " + cbDisableHostnameVerification);
}
/**
@@ -77,7 +77,7 @@ public class DefaultConnectionBuilder implements ConnectionBuilder {
if (conn instanceof HttpsURLConnection && sslSocketFactory != null) {
HttpsURLConnection httpsConn = (HttpsURLConnection) conn;
httpsConn.setSSLSocketFactory(sslSocketFactory);
- if (disableHostnameVerification)
+ if (cbDisableHostnameVerification)
httpsConn.setHostnameVerifier(new HostnameNonVerifier());
}
return conn;