146 |
brianR |
1 |
# =======================
|
|
|
2 |
# Shiro INI configuration
|
|
|
3 |
# =======================
|
|
|
4 |
|
|
|
5 |
[main]
|
|
|
6 |
# Objects and their properties are defined here,
|
|
|
7 |
# Such as the securityManager, Realms and anything
|
|
|
8 |
# else needed to build the SecurityManager
|
|
|
9 |
|
|
|
10 |
realm = net.brutex.xservices.security.XServicesRealm
|
|
|
11 |
securityManager.realms = $realm
|
|
|
12 |
|
162 |
brianR |
13 |
authcBasic = org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
|
146 |
brianR |
14 |
|
|
|
15 |
[users]
|
|
|
16 |
# The 'users' section is for simple deployments
|
|
|
17 |
# when you only need a small number of statically-defined
|
|
|
18 |
# set of User accounts.
|
|
|
19 |
# Format: user = password, role1, role2, ...
|
|
|
20 |
|
162 |
brianR |
21 |
admin = , Administrator
|
|
|
22 |
brian = brian, Administrator
|
146 |
brianR |
23 |
|
|
|
24 |
|
|
|
25 |
[roles]
|
|
|
26 |
# The 'roles' section is for simple deployments
|
|
|
27 |
# when you only need a small number of statically-defined
|
|
|
28 |
# roles.
|
|
|
29 |
|
162 |
brianR |
30 |
#Administrator = c:/t*/*, c:/windows/*, d:/**/VIDEO, C:/Users/brosenberger/**, d:/data/**, c:/**
|
|
|
31 |
Administrator = c:/TEMP/**, XmlService||test
|
146 |
brianR |
32 |
|
|
|
33 |
[urls]
|
|
|
34 |
# The 'urls' section is used for url-based security
|
|
|
35 |
# in web applications. We'll discuss this section in the
|
|
|
36 |
# Web documentation
|
|
|
37 |
|
162 |
brianR |
38 |
/ArchiveService = anon
|
|
|
39 |
/DateService = anon
|
|
|
40 |
/ExecuteService = anon
|
|
|
41 |
/FileService = anon
|
|
|
42 |
/JobService = anon
|
|
|
43 |
/MailService = anon
|
|
|
44 |
/MiscService = anon
|
|
|
45 |
/StorageService = anon
|
|
|
46 |
/StringService = anon
|
|
|
47 |
/XmlService = anon
|
|
|
48 |
|
146 |
brianR |
49 |
/** = authcBasic
|
162 |
brianR |
50 |
#/** = anon
|
146 |
brianR |
51 |
|
|
|
52 |
#Default filters
|
|
|
53 |
#Filter Name Class
|
|
|
54 |
#anon org.apache.shiro.web.filter.authc.AnonymousFilter
|
|
|
55 |
#authc org.apache.shiro.web.filter.authc.FormAuthenticationFilter
|
|
|
56 |
#authcBasic org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
|
|
|
57 |
#logout org.apache.shiro.web.filter.authc.LogoutFilter
|
|
|
58 |
#noSessionCreation org.apache.shiro.web.filter.session.NoSessionCreationFilter
|
|
|
59 |
#perms org.apache.shiro.web.filter.authz.PermissionsAuthorizationFilter
|
|
|
60 |
#port org.apache.shiro.web.filter.authz.PortFilter
|
|
|
61 |
#rest org.apache.shiro.web.filter.authz.HttpMethodPermissionFilter
|
|
|
62 |
#roles org.apache.shiro.web.filter.authz.RolesAuthorizationFilter
|
|
|
63 |
#ssl org.apache.shiro.web.filter.authz.SslFilter
|
|
|
64 |
#user org.apache.shiro.web.filter.authc.UserFilter
|