incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r1214568 - /incubator/ambari/trunk/controller/src/main/java/org/apache/ambari/controller/Controller.java
Date Thu, 15 Dec 2011 00:01:50 GMT
Author: ddas
Date: Thu Dec 15 00:01:49 2011
New Revision: 1214568

URL: http://svn.apache.org/viewvc?rev=1214568&view=rev
Log:
AMBARI-159. Commented out some more security stuff.

Modified:
    incubator/ambari/trunk/controller/src/main/java/org/apache/ambari/controller/Controller.java

Modified: incubator/ambari/trunk/controller/src/main/java/org/apache/ambari/controller/Controller.java
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/controller/src/main/java/org/apache/ambari/controller/Controller.java?rev=1214568&r1=1214567&r2=1214568&view=diff
==============================================================================
--- incubator/ambari/trunk/controller/src/main/java/org/apache/ambari/controller/Controller.java
(original)
+++ incubator/ambari/trunk/controller/src/main/java/org/apache/ambari/controller/Controller.java
Thu Dec 15 00:01:49 2011
@@ -81,7 +81,7 @@ public class Controller {
         "org.apache.ambari.controller.rest.config.PrivateWadlGeneratorConfig");
       root.addServlet(agent, "/agent/*");
       agent.setInitOrder(3);
-
+/*    //COMMENTED THE FOLLOWING LINE TO WORK AROUND AMBARI-159
       Constraint constraint = new Constraint();
       constraint.setName(Constraint.__BASIC_AUTH);;
       constraint.setRoles(new String[]{"user","admin","moderator"});
@@ -96,8 +96,8 @@ public class Controller {
           System.getenv("AMBARI_CONF_DIR")+"/auth.conf"));
       security.setConstraintMappings(new ConstraintMapping[]{cm});
 
-      //COMMENTED THE FOLLOWING LINE TO WORK AROUND AMBARI-159
-      //root.addHandler(security);
+      //root.addHandler(security);  
+*/
       server.setStopAtShutdown(true);
       
       /*



Mime
View raw message