You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by ka...@apache.org on 2017/07/03 14:41:50 UTC

[32/40] storm git commit: [STORM-2466] The example of jaas.conf in jaas_kerberos.conf should give more details

[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/58323243
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/58323243
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/58323243

Branch: refs/heads/1.1.x-branch
Commit: 58323243d75b4b5f6f5afb14d2d906c78aee8cbd
Parents: ae1b384
Author: liuzhaokun <li...@zte.com.cn>
Authored: Fri May 12 08:56:32 2017 +0800
Committer: Jungtaek Lim <ka...@gmail.com>
Committed: Thu Jun 29 16:56:10 2017 +0900

----------------------------------------------------------------------
 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/58323243/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/58323243/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/58323243/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";
+};
+