This is an automated email from the ASF dual-hosted git repository. mpapirkovskyy pushed a commit to branch branch-2.7 in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-2.7 by this push: new a6d9116 AMBARI-25159. http.strict-transport-security change does not take affect in 2.7.x. (mpapirkovskyy) (#2825) a6d9116 is described below commit a6d911681e87e6869c11b9f70a077934b619026a Author: Myroslav Papirkovskyi <mpapirkovs...@apache.org> AuthorDate: Wed Feb 20 21:20:50 2019 +0200 AMBARI-25159. http.strict-transport-security change does not take affect in 2.7.x. (mpapirkovskyy) (#2825) --- .../main/java/org/apache/ambari/server/controller/AmbariServer.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java b/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java index 6f5f4e6..da7b58c 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java +++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java @@ -134,7 +134,6 @@ import org.eclipse.jetty.server.Handler; import org.eclipse.jetty.server.HttpConfiguration; import org.eclipse.jetty.server.HttpConnectionFactory; import org.eclipse.jetty.server.NCSARequestLog; -import org.eclipse.jetty.server.SecureRequestCustomizer; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.ServerConnector; import org.eclipse.jetty.server.SessionIdManager; @@ -634,7 +633,6 @@ public class AmbariServer { HttpConfiguration https_config = new HttpConfiguration(); - https_config.addCustomizer(new SecureRequestCustomizer()); https_config.setRequestHeaderSize(configs.getHttpRequestHeaderSize()); https_config.setResponseHeaderSize(configs.getHttpResponseHeaderSize()); https_config.setSendServerVersion(false); @@ -683,7 +681,6 @@ public class AmbariServer { String httpsCrtPass = configsMap.get(Configuration.CLIENT_API_SSL_CRT_PASS.getKey()); HttpConfiguration https_config = new HttpConfiguration(http_config); - https_config.addCustomizer(new SecureRequestCustomizer()); https_config.setSecurePort(configs.getClientSSLApiPort()); SslContextFactory contextFactoryApi = new SslContextFactory();