TEZ-3667. Stop using org.apache.hadoop.security.ssl.SSLFactory.DEFAULT_SSL_REQUIRE_CLIENT_CERT (zhiyuany)
Project: http://git-wip-us.apache.org/repos/asf/tez/repo Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/e375b9d3 Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/e375b9d3 Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/e375b9d3 Branch: refs/heads/TEZ-1190 Commit: e375b9d348f702093e9753f186dff5527c0f121c Parents: cbcb3a7 Author: Zhiyuan Yang <[email protected]> Authored: Wed Mar 22 21:19:29 2017 -0700 Committer: Zhiyuan Yang <[email protected]> Committed: Wed Mar 22 21:19:29 2017 -0700 ---------------------------------------------------------------------- .../src/main/java/org/apache/tez/http/SSLFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tez/blob/e375b9d3/tez-runtime-library/src/main/java/org/apache/tez/http/SSLFactory.java ---------------------------------------------------------------------- diff --git a/tez-runtime-library/src/main/java/org/apache/tez/http/SSLFactory.java b/tez-runtime-library/src/main/java/org/apache/tez/http/SSLFactory.java index 9751463..e7a2dd0 100644 --- a/tez-runtime-library/src/main/java/org/apache/tez/http/SSLFactory.java +++ b/tez-runtime-library/src/main/java/org/apache/tez/http/SSLFactory.java @@ -37,7 +37,6 @@ import java.io.IOException; import java.net.HttpURLConnection; import java.security.GeneralSecurityException; -import static org.apache.hadoop.security.ssl.SSLFactory.DEFAULT_SSL_REQUIRE_CLIENT_CERT; import static org.apache.hadoop.security.ssl.SSLFactory.KEYSTORES_FACTORY_CLASS_KEY; import static org.apache.hadoop.security.ssl.SSLFactory.SSL_CLIENT_CONF_KEY; import static org.apache.hadoop.security.ssl.SSLFactory.SSL_HOSTNAME_VERIFIER_KEY; @@ -60,6 +59,7 @@ public class SSLFactory implements ConnectionConfigurator { public static final String SSL_ENABLED_PROTOCOLS = "hadoop.ssl.enabled.protocols"; public static final String DEFAULT_SSL_ENABLED_PROTOCOLS = "TLSv1"; + public static final boolean DEFAULT_SSL_REQUIRE_CLIENT_CERT = false; private Configuration conf; private Mode mode;
