| 3090 |
mandeep.dh |
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
|
| 3206 |
mandeep.dh |
9 |
crmAuthorizingRealm = in.shop2020.serving.auth.CRMAuthorizingRealm
|
| 3090 |
mandeep.dh |
10 |
sha256Matcher = org.apache.shiro.authc.credential.HashedCredentialsMatcher
|
|
|
11 |
sha256Matcher.hashAlgorithmName=SHA-256
|
| 3206 |
mandeep.dh |
12 |
crmAuthorizingRealm.credentialsMatcher = $sha256Matcher
|
| 3090 |
mandeep.dh |
13 |
authc = in.shop2020.serving.auth.VerboseFilter
|
|
|
14 |
authc.loginUrl = /login.html
|
|
|
15 |
authc.successUrl = /
|
| 3405 |
mandeep.dh |
16 |
# 2 hours session timeout
|
|
|
17 |
securityManager.sessionManager.globalSessionTimeout = 7200000
|
| 3090 |
mandeep.dh |
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 |
|
|
|
24 |
[roles]
|
|
|
25 |
# The 'roles' section is for simple deployments
|
|
|
26 |
# when you only need a small number of statically-defined
|
|
|
27 |
# roles.
|
|
|
28 |
|
|
|
29 |
[urls]
|
|
|
30 |
# The 'urls' section is used for url-based security
|
|
|
31 |
# in web applications. We'll discuss this section in the
|
|
|
32 |
# Web documentation
|
|
|
33 |
/** = authc
|