Debian Codegraph @

activemq-shiro/src/test/resources/minimal.shiro.ini

raw
1 #
2 # Licensed to the Apache Software Foundation (ASF) under one
3 # or more contributor license agreements. See the NOTICE file
4 # distributed with this work for additional information
5 # regarding copyright ownership. The ASF licenses this file
6 # to you under the Apache License, Version 2.0 (the
7 # "License"); you may not use this file except in compliance
8 # with the License. You may obtain a copy of the License at
9 #
10 # http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing,
13 # software distributed under the License is distributed on an
14 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 # KIND, either express or implied. See the License for the
16 # specific language governing permissions and limitations
17 # under the License.
18 #
19 [main]
20
21 # Shiro object graph configuration here if desired/necessary
22
23 [users]
24
25 # users section format:
26 #
27 # username = password [, assignedRole1, assignedRole2, ..., assignedRoleN]
28 #
29 # for example:
30 #
31 # scott = tiger, users, administrators, advisory
32 #
33 # Roles and permissions assigned to roles are defined in the [roles] section
34 # below. By transitive association, any user assigned a role is granted the
35 # role's permissions.
36
37 # ActiveMQ System User
38 # needed for in-VM/local connections when authentication is enabled:
39 system = manager, system
40
41 [roles]
42
43 # roles section format:
44 #
45 # roleName = wildcardPermission1, wildcardPermission2, ..., wildcardPermissionN
46
47 # The 'system' role is assigned all permissions (*). Be careful when assigning
48 # this to actual users other than then system user!
49 system = *
50
51 # Full access rights should generally be given to the ActiveMQ.Advisory.*
52 # destinations because by default an ActiveMQConnection uses advisory topics to
53 # get early knowledge of temp destination creation and deletion. For more info:
54 #
55 # http://activemq.apache.org/security.html
56 #
57 # So we create an 'advisory' role here with a wildcard/catch-all permissions
58 # for all advisory topics. To make your life easy, ensure you assign this to
59 # any/all users, e.g.
60 #
61 # jsmith = password, advisory, ...
62
63 advisory = topic:ActiveMQ.Advisory*