Subversion Repositories SmartDukaan

Rev

Rev 7881 | Rev 23282 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7881 Rev 23281
Line 5... Line 5...
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
inventoryAuthorizingRealm = in.shop2020.serving.auth.InventoryAuthorizingRealm
9
inventoryAuthorizingRealm = in.shop2020.serving.auth.InventoryAuthorizingRealm
-
 
10
 
10
sha256Matcher = org.apache.shiro.authc.credential.HashedCredentialsMatcher
11
sha256Matcher = org.apache.shiro.authc.credential.HashedCredentialsMatcher
11
sha256Matcher.hashAlgorithmName=SHA-256
12
sha256Matcher.hashAlgorithmName=SHA-256
12
inventoryAuthorizingRealm.credentialsMatcher = $sha256Matcher
13
inventoryAuthorizingRealm.credentialsMatcher = $sha256Matcher
13
authc = in.shop2020.serving.auth.VerboseFilter
14
authc = in.shop2020.serving.auth.VerboseFilter
14
authc.loginUrl = /login.html
15
authc.loginUrl = /login.html
15
authc.successUrl = /
16
authc.successUrl = /
16
# 2 hours session timeout
17
# 2 hours session timeout
-
 
18
cacheManager = org.apache.shiro.cache.MemoryConstrainedCacheManager
-
 
19
securityManager.cacheManager = $cacheManager
17
securityManager.sessionManager.globalSessionTimeout = 7200000
20
securityManager.sessionManager.globalSessionTimeout = 7200000
18
 
21
 
-
 
22
 
19
[users]
23
[users]
20
# The 'users' section is for simple deployments
24
# The 'users' section is for simple deployments
21
# when you only need a small number of statically-defined
25
# when you only need a small number of statically-defined
22
# set of User accounts.
26
# set of User accounts.
23
 
27