From: <gem...@li...> - 2011-11-22 14:29:14
|
Revision: 262 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=262&view=rev Author: matijsdejong Date: 2011-11-22 14:29:03 +0000 (Tue, 22 Nov 2011) Log Message: ----------- Added password section documentation and settings Modified Paths: -------------- trunk/new_project/application/configs/project.ini Modified: trunk/new_project/application/configs/project.ini =================================================================== --- trunk/new_project/application/configs/project.ini 2011-11-22 13:32:52 UTC (rev 261) +++ trunk/new_project/application/configs/project.ini 2011-11-22 14:29:03 UTC (rev 262) @@ -10,7 +10,7 @@ ; Put %s somewhere within the salt to mix the value ; in the salt. ;--------------------------------------------------- -salt = +salt = css.gems = gems/css/gems-fixed.css css.print.url = gems/css/gems_print.css @@ -56,7 +56,7 @@ ; ASK THROTTLE SECTION ; ; Sets values that control the throttling (slowdowns to -; combat brute-force attacks) of the ask / token +; combat brute-force attacks) of the ask / token ; controller. ; ; askThrottle.period @@ -193,11 +193,34 @@ locales.en = "en" locales.nl = "nl" -;-------------------- +;---------------------------------------------------------------------- ; PASSWORDS SECTION -;-------------------- +; +; The last key must be a function name in your PasswordChecker class. +; That function must accept as parameters the array value and the +; password. +; +; In between keys can contain case insensitive organization codes, user +; roles and user definition names in any order and can overrule previous +; defined values. +; BEWARE keep keys in fixed array order: +; passwords.staff.mgz.capsCount = 1 +; passwords.mgz.staff.lowerCount = 1 +; passwords.staff.mgz.lowerCount = 2 +; will be processed as: +; passwords.staff.mgz.capsCount = 1 +; passwords.staff.mgz.lowerCount = 2 +; passwords.mgz.staff.lowerCount = 1 +;---------------------------------------------------------------------- -passwords.MinimumLength = 5 +passwords.notTheName = 1 +passwords.guest.minLength = 6 +passwords.staff.capsCount = 1 +passwords.staff.lowerCount = 1 +passwords.staff.minLength = 8 +passwords.staff.numCount = 0 +passwords.staff.notAlphaCount = 1 +passwords.staff.notAlphaNumCount = 0 ;------------------------------------------------------- ; TOKEN SECTION @@ -234,3 +257,10 @@ admin.pwd = superadmin email.bounce = 1 + +passwords.staff.capsCount = 0 +passwords.staff.lowerCount = 0 +passwords.staff.minLength = 6 +passwords.staff.numCount = 0 +passwords.staff.notAlphaCount = 0 +passwords.staff.notAlphaNumCount = 0 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |