Subversion Repositories SmartDukaan

Rev

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

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