UserAjax portlet does not enforce portal policies
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'.
Pull request: https://github.com/dotCMS/core/pull/6638
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.
merged into master-3.1
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