Repository: storm Updated Branches: refs/heads/master 3c53dd516 -> 450ed637f
[STORM-2626] Provided a template for drpc-auth-acl.yaml Project: http://git-wip-us.apache.org/repos/asf/storm/repo Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/1deab8d2 Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/1deab8d2 Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/1deab8d2 Branch: refs/heads/master Commit: 1deab8d2ee48733e22e690b8e07d9c3a06f0a39f Parents: 8ba90e9 Author: liuzhaokun <[email protected]> Authored: Thu Jul 13 15:31:50 2017 +0800 Committer: åå å¤10206665 <[email protected]> Committed: Fri Jul 21 11:32:05 2017 +0800 ---------------------------------------------------------------------- conf/drpc-auth-acl.yaml.example | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/storm/blob/1deab8d2/conf/drpc-auth-acl.yaml.example ---------------------------------------------------------------------- diff --git a/conf/drpc-auth-acl.yaml.example b/conf/drpc-auth-acl.yaml.example new file mode 100644 index 0000000..1467518 --- /dev/null +++ b/conf/drpc-auth-acl.yaml.example @@ -0,0 +1,28 @@ +# 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. + + +# For the function "functionName1", alice can perform client operations, and bob can +# perform invocation operations.User should replace "functionName1","functionName2","alice","bob" with their own value +drpc.authorizer.acl: + "functionName1": + "client.users": + - "alice" + - "bob" + "invocation.user": "bob" + "functionName2": + "client.users": + - "alice"
