[12/50] [abbrv] git commit: AMBARI-6868 - Ambari should disable web directory listing by default (Alejandro Fernandez via jonathanhurley)

2014-08-20 Thread jonathanhurley
AMBARI-6868 - Ambari should disable web directory listing by default (Alejandro 
Fernandez via jonathanhurley)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b8c83263
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b8c83263
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b8c83263

Branch: refs/heads/branch-alerts-dev
Commit: b8c8326378f3fe7f58a453f291508a5fd82ba023
Parents: bba2806
Author: Jonathan Hurley jhur...@hortonworks.com
Authored: Mon Aug 18 16:32:28 2014 -0400
Committer: Jonathan Hurley jhur...@hortonworks.com
Committed: Mon Aug 18 16:32:58 2014 -0400

--
 .../main/java/org/apache/ambari/server/controller/AmbariServer.java | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/b8c83263/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
--
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 f4439b8..7b93836 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
@@ -226,6 +226,7 @@ public class AmbariServer {
   /, ServletContextHandler.SESSIONS );
 
   ServletHolder rootServlet = root.addServlet(DefaultServlet.class, /);
+  rootServlet.setInitParameter(dirAllowed, false);
   rootServlet.setInitOrder(1);
 
   /* Configure default servlet for agent server */



git commit: AMBARI-6868 - Ambari should disable web directory listing by default (Alejandro Fernandez via jonathanhurley)

2014-08-18 Thread jonathanhurley
Repository: ambari
Updated Branches:
  refs/heads/trunk bba2806f7 - b8c832637


AMBARI-6868 - Ambari should disable web directory listing by default (Alejandro 
Fernandez via jonathanhurley)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b8c83263
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b8c83263
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b8c83263

Branch: refs/heads/trunk
Commit: b8c8326378f3fe7f58a453f291508a5fd82ba023
Parents: bba2806
Author: Jonathan Hurley jhur...@hortonworks.com
Authored: Mon Aug 18 16:32:28 2014 -0400
Committer: Jonathan Hurley jhur...@hortonworks.com
Committed: Mon Aug 18 16:32:58 2014 -0400

--
 .../main/java/org/apache/ambari/server/controller/AmbariServer.java | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/b8c83263/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
--
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 f4439b8..7b93836 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
@@ -226,6 +226,7 @@ public class AmbariServer {
   /, ServletContextHandler.SESSIONS );
 
   ServletHolder rootServlet = root.addServlet(DefaultServlet.class, /);
+  rootServlet.setInitParameter(dirAllowed, false);
   rootServlet.setInitOrder(1);
 
   /* Configure default servlet for agent server */



[09/12] git commit: AMBARI-6868 - Ambari should disable web directory listing by default (Alejandro Fernandez via jonathanhurley)

2014-08-18 Thread jonathanhurley
AMBARI-6868 - Ambari should disable web directory listing by default (Alejandro 
Fernandez via jonathanhurley)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/08e5fc40
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/08e5fc40
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/08e5fc40

Branch: refs/heads/branch-alerts-dev
Commit: 08e5fc40e9791de9c0ef563d6c7d9772c2c0dda4
Parents: 7097e82
Author: Jonathan Hurley jhur...@hortonworks.com
Authored: Mon Aug 18 16:32:28 2014 -0400
Committer: Jonathan Hurley jhur...@hortonworks.com
Committed: Mon Aug 18 23:12:35 2014 -0400

--
 .../main/java/org/apache/ambari/server/controller/AmbariServer.java | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/08e5fc40/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
--
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 d1957c9..489fbb2 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
@@ -225,6 +225,7 @@ public class AmbariServer {
   /, ServletContextHandler.SESSIONS );
 
   ServletHolder rootServlet = root.addServlet(DefaultServlet.class, /);
+  rootServlet.setInitParameter(dirAllowed, false);
   rootServlet.setInitOrder(1);
 
   /* Configure default servlet for agent server */