Files
ofbiz-framework/framework/security/config/security.properties
T

40 lines
1.3 KiB
Properties

####
# OFBiz Security Settings
# $Id: security.properties 5178 2005-06-19 07:54:48Z jonesde $
####
# -- define the default security context to be user
security.context=default
# -- define the password restrictions --
password.length.min=5
# -- disable the account after this many logins --
max.failed.logins=3
# -- disable the account for this many minutes (if 0, then indefinate) --
login.disable.minutes=5
# -- disable global logout --
login.disable.global.logout=false
# -- store a record for each login attempt? --
store.login.history=true
store.login.history.on.service.auth=false
store.login.history.incorrect.password=true
# -- should we encrypt (SHA Hash) the password? --
password.encrypt=true
# -- specify the type of hash to use for one-way encryption, will be passed to java.security.MessageDigest.getInstance() --
# -- options may include: SHA, MD5, etc
password.encrypt.hash.type=SHA
# -- this is helpful to recover old accounts or to be able to login at all sometimes --
# -- SHOULD GENERALLY NOT BE TRUE FOR PRODUCTION SITES, but is useful for interim periods when going to password encryption --
password.accept.encrypted.and.plain=false
# -- should we convert usernames and passwords to lowercase? (useful for case insensitive usernames and passwords) --
username.lowercase=false
password.lowercase=false