core icon indicating copy to clipboard operation
core copied to clipboard

UserAjax portlet does not enforce portal policies

Open hmboonstra opened this issue 12 years ago • 4 comments

The UserAjax portlet does not enforce the portal policies specified in the portal.properties, like recycling or validation. Once logged-in I can change my password to 'a', even though the minimal length is '4' according to the 'passwords.regexptoolkit.pattern'.

hmboonstra avatar Oct 22 '14 12:10 hmboonstra

Pull request: https://github.com/dotCMS/core/pull/6638

jcastro-dotcms avatar Oct 30 '14 16:10 jcastro-dotcms

Pull request: https://github.com/dotCMS/core/pull/6764

The first commit is just a revert so the code reviewer can see the difference with the new changes.

jcastro-dotcms avatar Dec 02 '14 18:12 jcastro-dotcms

merged into master-3.1

jtesser avatar Dec 26 '14 12:12 jtesser

Tested policies passwords.regexptoolkit.pattern and passwords.recycle, they are working as expected. Recycling and validation of passwords are enforced.

Refer to #6928 for policies auth.simultaneous.logins and #6930 for auth.max.failures.limit

Tested on dotCMS version: 3.1 nightly build (2015-01-08 20:32) Linux // H2 // Chrome

shaydotcms avatar Jan 09 '15 18:01 shaydotcms