aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/java/org
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-12-04 09:58:08 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-12-04 09:58:08 +0100
commitc0ce67ebe2c4882b71ef04d64a6db7e3db416ce4 (patch)
treed49209a79ceefc9cc6c61c0713425171fa951157 /id/server/moa-id-commons/src/main/java/org
parentd222f975e7ad212264dab7cb7a0c39ec40478222 (diff)
downloadmoa-id-spss-c0ce67ebe2c4882b71ef04d64a6db7e3db416ce4.tar.gz
moa-id-spss-c0ce67ebe2c4882b71ef04d64a6db7e3db416ce4.tar.bz2
moa-id-spss-c0ce67ebe2c4882b71ef04d64a6db7e3db416ce4.zip
do not use deprecated Methode in MOAHttpClient
Diffstat (limited to 'id/server/moa-id-commons/src/main/java/org')
-rw-r--r--id/server/moa-id-commons/src/main/java/org/apache/commons/httpclient/MOAHttpClient.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/id/server/moa-id-commons/src/main/java/org/apache/commons/httpclient/MOAHttpClient.java b/id/server/moa-id-commons/src/main/java/org/apache/commons/httpclient/MOAHttpClient.java
index e4aa6a284..d708c2603 100644
--- a/id/server/moa-id-commons/src/main/java/org/apache/commons/httpclient/MOAHttpClient.java
+++ b/id/server/moa-id-commons/src/main/java/org/apache/commons/httpclient/MOAHttpClient.java
@@ -34,6 +34,7 @@ import org.apache.commons.httpclient.HttpMethodDirector;
import org.apache.commons.httpclient.HttpState;
import org.apache.commons.httpclient.URI;
import org.apache.commons.httpclient.protocol.Protocol;
+import org.apache.commons.httpclient.protocol.ProtocolSocketFactory;
import org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory;
import at.gv.egovernment.moa.id.commons.ex.MOAHttpProtocolSocketFactoryException;
@@ -47,7 +48,7 @@ import at.gv.egovernment.moa.id.commons.ex.MOAHttpProtocolSocketFactoryException
public class MOAHttpClient extends HttpClient {
- public void setCustomSSLTrustStore(String metadataURL, SecureProtocolSocketFactory protoSocketFactory) throws MOAHttpProtocolSocketFactoryException, MalformedURLException {
+ public void setCustomSSLTrustStore(String metadataURL, ProtocolSocketFactory protoSocketFactory) throws MOAHttpProtocolSocketFactoryException, MalformedURLException {
;
URL url = new URL(metadataURL);