Repository: incubator-slider Updated Branches: refs/heads/develop 8d0e5b71e -> 5025215dc
SLIDER-941 Add JAAS config templates for HBase Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/5025215d Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/5025215d Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/5025215d Branch: refs/heads/develop Commit: 5025215dccd1588da35a7411523867f0f025b3b9 Parents: 8d0e5b7 Author: tedyu <[email protected]> Authored: Wed Sep 23 07:22:17 2015 -0700 Committer: tedyu <[email protected]> Committed: Wed Sep 23 07:22:17 2015 -0700 ---------------------------------------------------------------------- .../package/templates/hbase_rest_jaas.conf.j2 | 25 ++++++++++++++++++++ .../templates/hbase_thrift2_jaas.conf.j2 | 25 ++++++++++++++++++++ .../package/templates/hbase_thrift_jaas.conf.j2 | 25 ++++++++++++++++++++ 3 files changed, 75 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/5025215d/app-packages/hbase/package/templates/hbase_rest_jaas.conf.j2 ---------------------------------------------------------------------- diff --git a/app-packages/hbase/package/templates/hbase_rest_jaas.conf.j2 b/app-packages/hbase/package/templates/hbase_rest_jaas.conf.j2 new file mode 100644 index 0000000..2a9b9f3 --- /dev/null +++ b/app-packages/hbase/package/templates/hbase_rest_jaas.conf.j2 @@ -0,0 +1,25 @@ +/* + * 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. + */ +Client { +com.sun.security.auth.module.Krb5LoginModule required +useKeyTab=true +storeKey=true +useTicketCache=false +keyTab="{{regionserver_keytab_path}}" +principal="{{regionserver_jaas_princ}}"; +}; http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/5025215d/app-packages/hbase/package/templates/hbase_thrift2_jaas.conf.j2 ---------------------------------------------------------------------- diff --git a/app-packages/hbase/package/templates/hbase_thrift2_jaas.conf.j2 b/app-packages/hbase/package/templates/hbase_thrift2_jaas.conf.j2 new file mode 100644 index 0000000..2a9b9f3 --- /dev/null +++ b/app-packages/hbase/package/templates/hbase_thrift2_jaas.conf.j2 @@ -0,0 +1,25 @@ +/* + * 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. + */ +Client { +com.sun.security.auth.module.Krb5LoginModule required +useKeyTab=true +storeKey=true +useTicketCache=false +keyTab="{{regionserver_keytab_path}}" +principal="{{regionserver_jaas_princ}}"; +}; http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/5025215d/app-packages/hbase/package/templates/hbase_thrift_jaas.conf.j2 ---------------------------------------------------------------------- diff --git a/app-packages/hbase/package/templates/hbase_thrift_jaas.conf.j2 b/app-packages/hbase/package/templates/hbase_thrift_jaas.conf.j2 new file mode 100644 index 0000000..2a9b9f3 --- /dev/null +++ b/app-packages/hbase/package/templates/hbase_thrift_jaas.conf.j2 @@ -0,0 +1,25 @@ +/* + * 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. + */ +Client { +com.sun.security.auth.module.Krb5LoginModule required +useKeyTab=true +storeKey=true +useTicketCache=false +keyTab="{{regionserver_keytab_path}}" +principal="{{regionserver_jaas_princ}}"; +};
