Repository: cxf Updated Branches: refs/heads/3.0.x-fixes e45b68262 -> 495ab0ae8
Get the HTTPSProxyAuthConduitTest working java8 update 112+ Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/495ab0ae Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/495ab0ae Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/495ab0ae Branch: refs/heads/3.0.x-fixes Commit: 495ab0ae875c32c9487c927d1a2935f4b00293d5 Parents: e45b682 Author: Daniel Kulp <[email protected]> Authored: Fri Nov 18 13:40:19 2016 -0500 Committer: Daniel Kulp <[email protected]> Committed: Fri Dec 9 13:09:29 2016 -0500 ---------------------------------------------------------------------- systests/transports/pom.xml | 3 +++ .../cxf/systest/https/conduit/HTTPSProxyAuthConduitTest.java | 1 + 2 files changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/495ab0ae/systests/transports/pom.xml ---------------------------------------------------------------------- diff --git a/systests/transports/pom.xml b/systests/transports/pom.xml index d069263..c1ecc1b 100644 --- a/systests/transports/pom.xml +++ b/systests/transports/pom.xml @@ -30,6 +30,9 @@ <name>Apache CXF Transport System Tests</name> <description>Apache CXF Transport System Tests</description> <url>http://cxf.apache.org</url> + <properties> + <cxf.surefire.fork.vmargs>-Djdk.http.auth.tunneling.disabledSchemes=""</cxf.surefire.fork.vmargs> + </properties> <build> <testSourceDirectory>${basedir}/src/test/java</testSourceDirectory> <testResources> http://git-wip-us.apache.org/repos/asf/cxf/blob/495ab0ae/systests/transports/src/test/java/org/apache/cxf/systest/https/conduit/HTTPSProxyAuthConduitTest.java ---------------------------------------------------------------------- diff --git a/systests/transports/src/test/java/org/apache/cxf/systest/https/conduit/HTTPSProxyAuthConduitTest.java b/systests/transports/src/test/java/org/apache/cxf/systest/https/conduit/HTTPSProxyAuthConduitTest.java index 82369df..3aac4cd 100644 --- a/systests/transports/src/test/java/org/apache/cxf/systest/https/conduit/HTTPSProxyAuthConduitTest.java +++ b/systests/transports/src/test/java/org/apache/cxf/systest/https/conduit/HTTPSProxyAuthConduitTest.java @@ -73,6 +73,7 @@ public class HTTPSProxyAuthConduitTest extends HTTPSConduitTest { @BeforeClass public static void startProxy() { + System.setProperty("jdk.http.auth.tunneling.disabledSchemes", ""); proxy = new DefaultHttpProxyServer(PROXY_PORT, requestFilter, new HashMap<String, HttpFilter>()); proxy.addProxyAuthenticationHandler(new ProxyAuthorizationHandler() { public boolean authenticate(String userName, String password) {
