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 |
|
|
|
13 |
#authc = org.apache.shiro.web.filter.authc.FormAuthenticationFilter
|
|
|
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 |
|
|
|
21 |
admin = password
|
|
|
22 |
brian = password, Administrator
|
|
|
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 |
|
|
|
30 |
Administrator = c:/t*/*, c:/windows/*, d:/**/VIDEO, C:/Users/brosenberger/**, d:/data/**, c:/**
|
|
|
31 |
|
|
|
32 |
[urls]
|
|
|
33 |
# The 'urls' section is used for url-based security
|
|
|
34 |
# in web applications. We'll discuss this section in the
|
|
|
35 |
# Web documentation
|
|
|
36 |
|
|
|
37 |
/** = authcBasic
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
#Default filters
|
|
|
41 |
#Filter Name Class
|
|
|
42 |
#anon org.apache.shiro.web.filter.authc.AnonymousFilter
|
|
|
43 |
#authc org.apache.shiro.web.filter.authc.FormAuthenticationFilter
|
|
|
44 |
#authcBasic org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
|
|
|
45 |
#logout org.apache.shiro.web.filter.authc.LogoutFilter
|
|
|
46 |
#noSessionCreation org.apache.shiro.web.filter.session.NoSessionCreationFilter
|
|
|
47 |
#perms org.apache.shiro.web.filter.authz.PermissionsAuthorizationFilter
|
|
|
48 |
#port org.apache.shiro.web.filter.authz.PortFilter
|
|
|
49 |
#rest org.apache.shiro.web.filter.authz.HttpMethodPermissionFilter
|
|
|
50 |
#roles org.apache.shiro.web.filter.authz.RolesAuthorizationFilter
|
|
|
51 |
#ssl org.apache.shiro.web.filter.authz.SslFilter
|
|
|
52 |
#user org.apache.shiro.web.filter.authc.UserFilter
|