Subversion Repositories SmartDukaan

Rev

Rev 23281 | Rev 23283 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4687 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
9
inventoryAuthorizingRealm = in.shop2020.serving.auth.InventoryAuthorizingRealm
23281 amit.gupta 10
 
4687 mandeep.dh 11
sha256Matcher = org.apache.shiro.authc.credential.HashedCredentialsMatcher
12
sha256Matcher.hashAlgorithmName=SHA-256
13
inventoryAuthorizingRealm.credentialsMatcher = $sha256Matcher
14
authc = in.shop2020.serving.auth.VerboseFilter
15
authc.loginUrl = /login.html
16
authc.successUrl = /
17
# 2 hours session timeout
18
securityManager.sessionManager.globalSessionTimeout = 7200000
19
 
23281 amit.gupta 20
 
4687 mandeep.dh 21
[users]
22
# The 'users' section is for simple deployments
23
# when you only need a small number of statically-defined
24
# set of User accounts.
25
 
26
[roles]
27
# The 'roles' section is for simple deployments
28
# when you only need a small number of statically-defined
29
# roles.
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
4754 mandeep.dh 35
/purchase-order/new = authc, perms["po:create"]
36
/purchase-order/*/edit = authc, perms["po:amend"]
37
/purchase-order/* = authc, perms["po:receive"]
38
/purchase/** = authc, perms["po:receive"]
5185 mandeep.dh 39
/doa-in/** = authc, perms["po:receive"]
40
/doa-out/** = authc, perms["po:receive"]
5110 mandeep.dh 41
/current-inventory/** = authc, perms["inventory:read"]
42
/ignored-item-mapping/** = authc, perms["inventory:ignoreditemmapping:read"]
5372 mandeep.dh 43
/accounting-reports = authc, perms["accounting-reports:read"]
44
/sale-report = authc, perms["sale-report:read"]
45
/sale-return-report = authc, perms["sale-return-report:read"]
46
/purchase-report = authc, perms["purchase-report:read"]
5885 mandeep.dh 47
/supplier-inventory = anon
5449 mandeep.dh 48
/invoice/new = authc, perms["invoice:receive"]
49
/invoice = authc, perms["invoice:read"]
5591 mandeep.dh 50
/supplier/new = authc, perms["supplier:create"]
51
/supplier/*/edit = authc, perms["supplier:edit"]
52
/supplier/* = authc, perms["supplier:read"]
7881 amar.kumar 53
/current-inventory = authc, perms["inventory:read"]
54
/inventory-age = authc, perms["inventory-age:read"]
55
/scan-record = anon
56
/inventory-reader/** = authc, perms["inventory-age:read"] 
57
/purchase-return = authc, perms["purchase-return:read"]
58
/movement-report/** = authc, perms["movement-report:read"]
59
/hotspot-indent = authc, perms["hotspot-indent:create"]
60
/transfer-lot = authc, perms["transfer-lot:view"]
61
/transfer-lot/new = authc, perms["transfer-lot:create"]
62
/transfer-lot-receive = authc, perms["po:receive"] 
4754 mandeep.dh 63
/** = authc