Debian Codegraph @

activemq-shiro/src/test/resources/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
20 [main]
21
22 # Shiro object graph configuration here if desired/necessary
23
24 [users]
25
26 # users section format:
27 #
28 # username = password [, assignedRole1, assignedRole2, ..., assignedRoleN]
29 #
30 # for example:
31 #
32 # scott = tiger, users, administrators, advisory
33 #
34 # Roles and permissions assigned to roles are defined in the [roles] section
35 # below. By transitive association, any user assigned a role is granted the
36 # role's permissions.
37
38 # ActiveMQ System User
39 # needed for in-VM/local connections when authentication is enabled:
40 system = manager, system
41
42 [roles]
43
44 # roles section format:
45 #
46 # roleName = wildcardPermission1, wildcardPermission2, ..., wildcardPermissionN
47
48 # The 'system' role is assigned all permissions (*). Be careful when assigning
49 # this to actual users other than then system user:
50 system = *
51
52 # Full access rights should generally be given to the ActiveMQ.Advisory.*
53 # destinations because by default an ActiveMQConnection uses advisory topics to
54 # get early knowledge of temp destination creation and deletion. For more info:
55 #
56 # http://activemq.apache.org/security.html
57 #
58 # So we create an 'advisory' role here with a wildcard/catch-all permissions
59 # for all advisory topics. To make your life easy, ensure you assign this to
60 # any/all users, e.g.
61 #
62 # jsmith = password, advisory, ...
63
64 advisory = topic:ActiveMQ.Advisory*