Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

# =======================
# Shiro INI configuration
# =======================

[main]
# Objects and their properties are defined here, 
# Such as the securityManager, Realms and anything
# else needed to build the SecurityManager
inventoryAuthorizingRealm = in.shop2020.serving.auth.InventoryAuthorizingRealm
sha256Matcher = org.apache.shiro.authc.credential.HashedCredentialsMatcher
sha256Matcher.hashAlgorithmName=SHA-256
inventoryAuthorizingRealm.credentialsMatcher = $sha256Matcher
authc = in.shop2020.serving.auth.VerboseFilter
authc.loginUrl = /login.html
authc.successUrl = /
# 2 hours session timeout
securityManager.sessionManager.globalSessionTimeout = 7200000

[users]
# The 'users' section is for simple deployments
# when you only need a small number of statically-defined
# set of User accounts.
root = secret, admin

[roles]
# The 'roles' section is for simple deployments
# when you only need a small number of statically-defined
# roles.
admin = *

[urls]
# The 'urls' section is used for url-based security
# in web applications.  We'll discuss this section in the
# Web documentation