Subversion Repositories XServices

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
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:/**
175 brianR 31
Administrator = FileInfoService||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
 
175 brianR 49
 
50
/fileinfo/** = authcBasic
51
/dimcminfo/** = anon
52
 
146 brianR 53
/** = authcBasic
162 brianR 54
#/** = anon
146 brianR 55
 
56
#Default filters
57
#Filter Name	 Class
58
#anon		org.apache.shiro.web.filter.authc.AnonymousFilter
59
#authc		org.apache.shiro.web.filter.authc.FormAuthenticationFilter
60
#authcBasic	org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
61
#logout		org.apache.shiro.web.filter.authc.LogoutFilter
62
#noSessionCreation	org.apache.shiro.web.filter.session.NoSessionCreationFilter
63
#perms		org.apache.shiro.web.filter.authz.PermissionsAuthorizationFilter
64
#port		org.apache.shiro.web.filter.authz.PortFilter
65
#rest		org.apache.shiro.web.filter.authz.HttpMethodPermissionFilter
66
#roles		org.apache.shiro.web.filter.authz.RolesAuthorizationFilter
67
#ssl		org.apache.shiro.web.filter.authz.SslFilter
68
#user		org.apache.shiro.web.filter.authc.UserFilter