Browse Source

AMBARI-5041. Falcon does not support _HOST substitution in principal names. (jaimin)

Jaimin Jetly 11 years ago
parent
commit
6cd020086f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      ambari-web/app/controllers/main/admin/security/add/step2.js

+ 3 - 1
ambari-web/app/controllers/main/admin/security/add/step2.js

@@ -268,10 +268,12 @@ App.MainAdminSecurityAddStep2Controller = Em.Controller.extend({
       }, this);
     }
 
-    // Oozie, webhcat and nagios does not support _HOST in the principal name. Actual hostname should be set instead of _HOST
+    // Oozie, Falcon, WebHcat and Nagios does not support _HOST in the principal name. Actual hostname should be set instead of _HOST
 
     this.setHostToPrincipal(oozieService, 'oozie_servername','oozie_principal_name','oozie/');
     this.setHostToPrincipal(oozieService, 'oozie_servername','oozie_http_principal_name','HTTP/');
+    this.setHostToPrincipal(falconService, 'falcon_server_host','falcon_principal_name','falcon/');
+    this.setHostToPrincipal(falconService, 'falcon_server_host','falcon_http_principal_name','HTTP/');
     this.setHostToPrincipal(oozieService, 'webhcatserver_host','webHCat_http_principal_name','HTTP/');
     this.setHostToPrincipal(oozieService, 'nagios_server','nagios_principal_name','nagios/');
   },