Share User Console tool enhancements and fixes:

- Username and password field length checks based on config values (ALFCOM-2907, ETHREEOH-1199)
 - Password checked against Validate Password field on Create and Update of a user (ALFCOM-2913, ALFCOM-2922)
 - Fix to recently broken script People API - attempting to create a user with a username that already exists did not return null but instead throw an exception (ALFCOM-2921)
 - Field validation correctly trims fields before validation (ALFCOM-2920)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14663 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2009-06-11 14:39:03 +00:00
parent cb7c4e6593
commit ace9e44956

View File

@@ -257,7 +257,7 @@ public final class People extends BaseScopableProcessorExtension
person = createPerson(userName, firstName, lastName, emailAddress);
if (password != null)
if (person != null && password != null)
{
// create account for person with the userName and password
mutableAuthenticationDao.createUser(userName, password.toCharArray());