[cxf] branch master updated: Updating BouncyCastle to 1.66

2020-07-07 Thread coheigea
This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
 new ad78161  Updating BouncyCastle to 1.66
ad78161 is described below

commit ad7816167c17178de1e1d0eea4f60c1001921ef3
Author: Colm O hEigeartaigh 
AuthorDate: Tue Jul 7 17:59:17 2020 +0100

Updating BouncyCastle to 1.66
---
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index c7c2717..3ec93e0 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -86,7 +86,7 @@
 1.9.1
 [2.4,3.0)
 2.5.15
-1.65
+1.66
 2.12.1
 5.10.1
 2.19.3



[cxf] branch master updated: Updating BouncyCastle to 1.65

2020-04-07 Thread coheigea
This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
 new 3f3dc69  Updating BouncyCastle to 1.65
3f3dc69 is described below

commit 3f3dc69a8831a968a60a183cdc06a9a1a3ae5ea0
Author: Colm O hEigeartaigh 
AuthorDate: Tue Apr 7 08:20:25 2020 +0100

Updating BouncyCastle to 1.65
---
 parent/pom.xml |  2 +-
 .../systest/https/clientauth/ClientAuthTest.java   | 60 --
 2 files changed, 1 insertion(+), 61 deletions(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 27dee14..c56c850 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -87,7 +87,7 @@
 1.9.1
 [2.4,3.0)
 2.5.2
-1.64
+1.65
 2.12.1
 5.10.1
 2.19.3
diff --git 
a/systests/transports/src/test/java/org/apache/cxf/systest/https/clientauth/ClientAuthTest.java
 
b/systests/transports/src/test/java/org/apache/cxf/systest/https/clientauth/ClientAuthTest.java
index 2fa82a5..6bb653a 100644
--- 
a/systests/transports/src/test/java/org/apache/cxf/systest/https/clientauth/ClientAuthTest.java
+++ 
b/systests/transports/src/test/java/org/apache/cxf/systest/https/clientauth/ClientAuthTest.java
@@ -22,7 +22,6 @@ package org.apache.cxf.systest.https.clientauth;
 import java.io.InputStream;
 import java.net.URL;
 import java.security.KeyStore;
-import java.security.Security;
 import java.util.Arrays;
 import java.util.Collection;
 
@@ -43,17 +42,13 @@ import org.apache.cxf.common.classloader.ClassLoaderUtils;
 import org.apache.cxf.configuration.jsse.TLSClientParameters;
 import org.apache.cxf.endpoint.Client;
 import org.apache.cxf.frontend.ClientProxy;
-import org.apache.cxf.helpers.JavaUtils;
 import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
 import org.apache.cxf.transport.http.HTTPConduit;
 import org.apache.cxf.transport.https.InsecureTrustManager;
 import org.apache.hello_world.Greeter;
 import org.apache.hello_world.services.SOAPService;
-import org.bouncycastle.jce.provider.BouncyCastleProvider;
-import org.bouncycastle.jsse.provider.BouncyCastleJsseProvider;
 
 import org.junit.AfterClass;
-import org.junit.Assume;
 import org.junit.BeforeClass;
 import org.junit.runner.RunWith;
 import org.junit.runners.Parameterized.Parameters;
@@ -473,61 +468,6 @@ public class ClientAuthTest extends 
AbstractBusClientServerTestBase {
 ((java.io.Closeable)port).close();
 }
 
-// See CXF-7782
-@org.junit.Test
-public void testBouncyCastleProvider() throws Exception {
-// TODO There seems to be a bug with BC 1.60 + JDK 11
-Assume.assumeFalse(JavaUtils.isJava11Compatible());
-try {
-Security.addProvider(new BouncyCastleProvider());
-Security.addProvider(new BouncyCastleJsseProvider());
-URL url = SOAPService.WSDL_LOCATION;
-SOAPService service = new SOAPService(url, SOAPService.SERVICE);
-assertNotNull("Service is null", service);
-
-// Set up (shared) KeyManagers/TrustManagers
-TrustManager[] trustManagers = 
InsecureTrustManager.getNoOpX509TrustManagers();
-
-KeyManagerFactory kmf = 
KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());
-
-try (InputStream inputStream = 
ClassLoaderUtils.getResourceAsStream("keymanagers.jks", this.getClass())) {
-KeyStore keyStore = KeyStore.getInstance("JKS");
-keyStore.load(inputStream, "password".toCharArray());
-
-kmf.init(keyStore, "password".toCharArray());
-}
-KeyManager[] keyManagers = kmf.getKeyManagers();
-
-// First call to PORT using Morpit
-TLSClientParameters tlsParams = new TLSClientParameters();
-tlsParams.setJsseProvider(new 
BouncyCastleJsseProvider().getName());
-tlsParams.setKeyManagers(keyManagers);
-tlsParams.setCertAlias("morpit");
-tlsParams.setTrustManagers(trustManagers);
-tlsParams.setDisableCNCheck(true);
-
-Greeter port = service.getHttpsPort();
-assertNotNull("Port is null", port);
-
-updateAddressPort(port, PORT);
-
-// Enable Async
-if (async) {
-
((BindingProvider)port).getRequestContext().put("use.async.http.conduit", true);
-}
-
-Client client = ClientProxy.getClient(port);
-HTTPConduit http = (HTTPConduit) client.getConduit();
-http.setTlsClientParameters(tlsParams);
-
-assertEquals(port.greetMe("Kitty"), "Hello Kitty");
-((java.io.Closeable)port).close();
-} finally {
-Security.removeProvider(new BouncyCastleJsseProvider().getName());
-Security.removeProvider(new BouncyCastle

[cxf] branch master updated: Updating BouncyCastle

2018-07-27 Thread coheigea
This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
 new 40ef380  Updating BouncyCastle
40ef380 is described below

commit 40ef380f3b681c61be0e49c3c896486d4278d69a
Author: Colm O hEigeartaigh 
AuthorDate: Fri Jul 27 16:45:00 2018 +0100

Updating BouncyCastle
---
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 47b1a49..1fccffd 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -77,7 +77,7 @@
 2.4.23
 [2.4,3.0)
 1.2.14
-1.59
+1.60
 2.2_2
 [2.1.3,3.0.0)
 1.1.0



[cxf] branch master updated: Updating BouncyCastle

2018-01-05 Thread coheigea
This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
 new ca0b662  Updating BouncyCastle
ca0b662 is described below

commit ca0b662a200ba9c917a7d055fe6cf4def1c8b351
Author: Colm O hEigeartaigh 
AuthorDate: Fri Jan 5 17:31:47 2018 +

Updating BouncyCastle
---
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 1491c10..3d558d0 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -75,7 +75,7 @@
 2.4.16
 [2.4,3.0)
 1.2.14
-1.58
+1.59
 2.2_2
 [2.1.3,3.0.0)
 1.1.0

-- 
To stop receiving notification emails like this one, please contact
['"commits@cxf.apache.org" '].