Find file
e14a677 Feb 14, 2014
@eepstein @lorrin
21 lines (17 sloc) 813 Bytes
# =======================
# Shiro INI configuration
# =======================
[main]
hashService = org.apache.shiro.crypto.hash.DefaultHashService
# NONE of the hashService settings is required. The defaults will work fine.
hashService.hashIterations = 512
hashService.hashAlgorithmName = SHA-256
hashService.generatePublicSalt = true
# If you wanted to use some private salt bytes, provide in Base64 (NOT A BAD IDEA!)
# hashService.privateSalt = aGltYWxheWFu
# We use this one to create a new test user with a hashed password.
passwordService = org.apache.shiro.authc.credential.DefaultPasswordService
passwordService.hashService = $hashService
# We use this for our authentication tests.
passwordMatcher = org.apache.shiro.authc.credential.PasswordMatcher
passwordMatcher.passwordService = $passwordService