Subversion Repositories XServices

Rev

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

Rev 162 Rev 175
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
authcBasic = org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
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 = , Administrator
21
admin = , Administrator
22
brian = brian, 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
Administrator = FileInfoService||c:/temp/**, XmlService||test
32
 
32
 
33
[urls]
33
[urls]
34
# The 'urls' section is used for url-based security
34
# The 'urls' section is used for url-based security
35
# in web applications.  We'll discuss this section in the
35
# in web applications.  We'll discuss this section in the
36
# Web documentation
36
# Web documentation
37
 
37
 
38
/ArchiveService = anon
38
/ArchiveService = anon
39
/DateService = anon
39
/DateService = anon
40
/ExecuteService = anon
40
/ExecuteService = anon
41
/FileService = anon
41
/FileService = anon
42
/JobService = anon
42
/JobService = anon
43
/MailService = anon
43
/MailService = anon
44
/MiscService = anon
44
/MiscService = anon
45
/StorageService = anon
45
/StorageService = anon
46
/StringService = anon
46
/StringService = anon
47
/XmlService = anon
47
/XmlService = anon
-
 
48
 
-
 
49
 
-
 
50
/fileinfo/** = authcBasic
-
 
51
/dimcminfo/** = anon
48
 
52
 
49
/** = authcBasic
53
/** = authcBasic
50
#/** = anon
54
#/** = anon
51
 
55
 
52
#Default filters
56
#Default filters
53
#Filter Name	 Class
57
#Filter Name	 Class
54
#anon		org.apache.shiro.web.filter.authc.AnonymousFilter
58
#anon		org.apache.shiro.web.filter.authc.AnonymousFilter
55
#authc		org.apache.shiro.web.filter.authc.FormAuthenticationFilter
59
#authc		org.apache.shiro.web.filter.authc.FormAuthenticationFilter
56
#authcBasic	org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
60
#authcBasic	org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
57
#logout		org.apache.shiro.web.filter.authc.LogoutFilter
61
#logout		org.apache.shiro.web.filter.authc.LogoutFilter
58
#noSessionCreation	org.apache.shiro.web.filter.session.NoSessionCreationFilter
62
#noSessionCreation	org.apache.shiro.web.filter.session.NoSessionCreationFilter
59
#perms		org.apache.shiro.web.filter.authz.PermissionsAuthorizationFilter
63
#perms		org.apache.shiro.web.filter.authz.PermissionsAuthorizationFilter
60
#port		org.apache.shiro.web.filter.authz.PortFilter
64
#port		org.apache.shiro.web.filter.authz.PortFilter
61
#rest		org.apache.shiro.web.filter.authz.HttpMethodPermissionFilter
65
#rest		org.apache.shiro.web.filter.authz.HttpMethodPermissionFilter
62
#roles		org.apache.shiro.web.filter.authz.RolesAuthorizationFilter
66
#roles		org.apache.shiro.web.filter.authz.RolesAuthorizationFilter
63
#ssl		org.apache.shiro.web.filter.authz.SslFilter
67
#ssl		org.apache.shiro.web.filter.authz.SslFilter
64
#user		org.apache.shiro.web.filter.authc.UserFilter
68
#user		org.apache.shiro.web.filter.authc.UserFilter
65
 
69
 
66
Generated by GNU Enscript 1.6.5.90.
70
Generated by GNU Enscript 1.6.5.90.
67
 
71
 
68
 
72