I am running JIRA 7.2.3, Confluence 5.10.7 and using Crowd 2.11.1 as the user directory.
In Crowd I have configured a password policy using Regex.
Because Crowd doesn't send emails to new users when I create them I need to use Confluence to send an email to the new user with a link to set their password.
However if I try to create the user in Confluence I get the following error in the Confluence log file.
2017-04-19 14:40:42,155 ERROR [http-nio-8090-exec-9] [confluence.user.actions.CreateUserAction] execute Failed to create user: mynewusername
{{ – referer: https://confluence.denso-sales.co.uk/admin/users/createuser.action | url: /admin/users/docreateuser.action | traceId: 11314af20408f9ca | userName: myusername | action: docreateuser}}
com.atlassian.core.exception.InfrastructureException: com.atlassian.user.security.authentication.InvalidPasswordException: com.atlassian.crowd.exception.InvalidCredentialException: The new password does not meet the directory complexity requirements: At least 12 characters long, and must contain 1 upper case letter, 1 lower case letter, 1 numberTo get around this I have to remove the entry in the Regex field in Crowd which allows me to create the user, and then put back the regex in the Crowd field.
Is there a way around this?
What's annoying is that JIRA works completely fine with the regex field filled in Crowd. One of the many inconsistencies I find when adminsitrating these 3 tools.