storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kabh...@apache.org
Subject [1/2] storm git commit: [STORM-2466] The example of jaas.conf in jaas_kerberos.conf should give more details
Date Mon, 12 Jun 2017 00:57:13 GMT
Repository: storm
Updated Branches:
  refs/heads/master ca10da2fd -> 38e997ed9


[STORM-2466] The example of jaas.conf in jaas_kerberos.conf should give more details


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

Branch: refs/heads/master
Commit: a67a3d2b4d8b9b3db955c489f8e7cf096926569d
Parents: 9755ff5
Author: liuzhaokun <liu.zhaokun@zte.com.cn>
Authored: Fri May 12 08:56:32 2017 +0800
Committer: 刘兆坤10206665 <liu.zhaokun@zte.com.cn>
Committed: Mon May 15 13:36:02 2017 +0800

----------------------------------------------------------------------
 conf/jaas_kerberos.conf  | 32 ------------------------------
 conf/storm_jaas.conf     | 45 +++++++++++++++++++++++++++++++++++++++++++
 conf/zookeeper_jaas.conf | 35 +++++++++++++++++++++++++++++++++
 3 files changed, 80 insertions(+), 32 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/a67a3d2b/conf/jaas_kerberos.conf
----------------------------------------------------------------------
diff --git a/conf/jaas_kerberos.conf b/conf/jaas_kerberos.conf
deleted file mode 100644
index 87e8d0d..0000000
--- a/conf/jaas_kerberos.conf
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-StormServer {
-       com.sun.security.auth.module.Krb5LoginModule required
-       useKeyTab=true
-       keyTab="/etc/nimbus_server.keytab"
-       storeKey=true
-       useTicketCache=false
-       principal="nimbus_server/carcloth.corp.yahoo.com@STORM.CORP.YAHOO.COM";
-};
-StormClient {
-       com.sun.security.auth.module.Krb5LoginModule required
-       doNotPrompt=true
-       useTicketCache=true
-       serviceName="nimbus_server";
-};
-

http://git-wip-us.apache.org/repos/asf/storm/blob/a67a3d2b/conf/storm_jaas.conf
----------------------------------------------------------------------
diff --git a/conf/storm_jaas.conf b/conf/storm_jaas.conf
new file mode 100644
index 0000000..765ca15
--- /dev/null
+++ b/conf/storm_jaas.conf
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+StormServer {
+   com.sun.security.auth.module.Krb5LoginModule required
+   useKeyTab=true
+   keyTab="$keytab"
+   storeKey=true
+   useTicketCache=false
+   principal="$principal";
+};
+StormClient {
+   com.sun.security.auth.module.Krb5LoginModule required
+   useKeyTab=true
+   keyTab="$keytab"
+   storeKey=true
+   useTicketCache=false
+   serviceName="$nimbus_user"
+   principal="$principal";
+};
+Client {
+   com.sun.security.auth.module.Krb5LoginModule required
+   useKeyTab=true
+   keyTab="$keytab"
+   storeKey=true
+   useTicketCache=false
+   serviceName="zookeeper"
+   principal="$principal";
+};
+
+

http://git-wip-us.apache.org/repos/asf/storm/blob/a67a3d2b/conf/zookeeper_jaas.conf
----------------------------------------------------------------------
diff --git a/conf/zookeeper_jaas.conf b/conf/zookeeper_jaas.conf
new file mode 100644
index 0000000..c38d55e
--- /dev/null
+++ b/conf/zookeeper_jaas.conf
@@ -0,0 +1,35 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+Server {
+  com.sun.security.auth.module.Krb5LoginModule required
+  useKeyTab=true
+  keyTab="$keytab"
+  storeKey=true
+  useTicketCache=false
+  principal="$principal";
+};
+Client {
+  com.sun.security.auth.module.Krb5LoginModule required
+  useKeyTab=true
+  keyTab="$keytab"
+  storeKey=true
+  useTicketCache=false
+  serviceName="zookeeper"
+  principal="$principal";
+};
+


Mime
View raw message