Subversion Repositories XServices

Rev

Rev 146 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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