/[Apache-SVN]
ViewVC logotype

Revision 1418996


Jump to revision: Previous Next
Author: jleroux
Date: Sun Dec 9 14:59:52 2012 UTC (11 years, 4 months ago)
Changed paths: 3
Log Message:
A slightly modified patch from Sumit Pandit for "Additional Validation for Password  : Make password pattern driven" https://issues.apache.org/jira/browse/OFBIZ-4958

Provides an additional validation for password  with following capability to the system:

Admin can enable/disable pattern based password capability of system. Configuration will reside in security.property file.
 To enable : security.login.password.pattern.enable=true
 To disable: security.login.password.pattern.enable=false

Admin is flexible to provide his pattern string by making pattern more/less restrictive as per system requirement. Configuration will reside in security.property file.
 Example: security.login.password.pattern=^.*(?=. {5,})(?=.[a-zA-Z])(?=.[!@#$%^&*]).*$

Admin can provide custom error message string which will display to end user if wrong password is entered. Configuration will reside in security.properity file.

jleroux: I quickly handled the error message localisation for the OOTB case. It's more complicated when the pattern gets complex...


Changed paths

Path Details
Directoryofbiz/trunk/framework/common/config/SecurityextUiLabels.xml modified , text changed
Directoryofbiz/trunk/framework/common/src/org/ofbiz/common/login/LoginServices.java modified , text changed
Directoryofbiz/trunk/framework/security/config/security.properties modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26