Repository: ambari
Updated Branches:
  refs/heads/trunk 822d54577 -> d83f733b0


AMBARI-21015. Add RegistryClient Jaas section to storm_jaas.conf (Sriharsha 
Chintalapani via smohanty)


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

Branch: refs/heads/trunk
Commit: d83f733b054e9f2ed898093012af856835d6ae1a
Parents: 822d545
Author: Sumit Mohanty <smoha...@hortonworks.com>
Authored: Sat May 13 00:16:07 2017 -0700
Committer: Sumit Mohanty <smoha...@hortonworks.com>
Committed: Sat May 13 00:17:00 2017 -0700

----------------------------------------------------------------------
 .../STORM/0.9.1/package/templates/storm_jaas.conf.j2         | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/d83f733b/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/templates/storm_jaas.conf.j2
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/templates/storm_jaas.conf.j2
 
b/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/templates/storm_jaas.conf.j2
index 8116492..c22cb51 100644
--- 
a/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/templates/storm_jaas.conf.j2
+++ 
b/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/templates/storm_jaas.conf.j2
@@ -33,6 +33,14 @@ StormClient {
    serviceName="{{nimbus_bare_jaas_principal}}"
    principal="{{storm_jaas_principal}}";
 };
+RegistryClient {
+   com.sun.security.auth.module.Krb5LoginModule required
+   useKeyTab=true
+   keyTab="{{storm_keytab_path}}"
+   storeKey=true
+   useTicketCache=false
+   principal="{{storm_jaas_principal}}";
+};
 {% endif %}
 Client {
    com.sun.security.auth.module.Krb5LoginModule required

Reply via email to