Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7068 anupam.sin 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
inventoryAuthorizingRealm = in.shop2020.serving.auth.InventoryAuthorizingRealm
10
sha256Matcher = org.apache.shiro.authc.credential.HashedCredentialsMatcher
11
sha256Matcher.hashAlgorithmName=SHA-256
12
inventoryAuthorizingRealm.credentialsMatcher = $sha256Matcher
13
authc = in.shop2020.serving.auth.VerboseFilter
14
authc.loginUrl = /login.html
15
authc.successUrl = /
16
# 2 hours session timeout
17
securityManager.sessionManager.globalSessionTimeout = 7200000
18
 
19
[users]
20
# The 'users' section is for simple deployments
21
# when you only need a small number of statically-defined
22
# set of User accounts.
23
root = secret, admin
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
admin = *
30
 
31
[urls]
32
# The 'urls' section is used for url-based security
33
# in web applications.  We'll discuss this section in the
34
# Web documentation