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/55f92f4c Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/55f92f4c Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/55f92f4c Branch: refs/heads/3.1.x-fixes Commit: 55f92f4c2c750f13e231482466181eb4bcfdcc74 Parents: 826c962 Author: Daniel Kulp <[email protected]> Authored: Fri Nov 18 13:40:19 2016 -0500 Committer: Daniel Kulp <[email protected]> Committed: Wed Nov 23 10:52:07 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/55f92f4c/systests/transports/pom.xml ---------------------------------------------------------------------- diff --git a/systests/transports/pom.xml b/systests/transports/pom.xml index b620969..8136272 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/55f92f4c/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) {
